Skip to content

Commit

Permalink
Update HasOneOrMany.php
Browse files Browse the repository at this point in the history
  • Loading branch information
harris21 committed Sep 27, 2024
1 parent ca8132a commit b5c28ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Eloquent/Relations/HasOneOrMany.php
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ protected function touchingParent()
*
* @return string
*/
protected function guessInverseRelation()
protected function guessInverseRelation(): ?string
{
return Str::camel(Str::plural(class_basename($this->getParent())));
}
Expand Down

0 comments on commit b5c28ce

Please sign in to comment.