Skip to content

Commit

Permalink
Add qualified return type
Browse files Browse the repository at this point in the history
  • Loading branch information
musimana committed May 21, 2024
1 parent 7e540a9 commit e4b7861
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/Traits/HasPageView.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ public function getTitle(): string
return $this->title ?? '';
}

/** The relationship for the resource's content blocks. */
/**
* The relationship for the resource's content blocks.
*
* @return HasMany<Block>
*/
public function blocks(): HasMany
{
return $this->hasMany(Block::class, 'parent_id')
Expand Down

0 comments on commit e4b7861

Please sign in to comment.