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 ea6e47d commit 6ffb174
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 @@ -67,7 +67,7 @@ public function loadTreePathRelations(): self

if (! method_exists($instance, 'getPathName') || ! method_exists($instance, 'getPathSeparator')) {
throw new RuntimeException(sprintf(
'Model [%s] does not have recusive relations.',
'Model [%s] does not have recursive relations.',
$instance::class,
));
}
Expand Down

0 comments on commit 6ffb174

Please sign in to comment.