Skip to content

Commit

Permalink
Update src/Eloquent/Collection.php
Browse files Browse the repository at this point in the history
Co-authored-by: Sander Muller <[email protected]>
  • Loading branch information
staudenmeir and SanderMuller authored Oct 6, 2024
1 parent 0afd951 commit ea6e47d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Eloquent/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function toTree($childrenRelation = 'children')
*
* @return static<int, TModel>
*/
public function loadTreePathRelations()
public function loadTreePathRelations(): self
{
$instance = $this->first();

Expand Down

0 comments on commit ea6e47d

Please sign in to comment.