Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
correct Code Example typo (morphsMany to morphMany)
  • Loading branch information
Fabi0li authored and patrickcarlohickman committed Sep 22, 2024
1 parent c4a42f9 commit f27545c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class Profile extends Model {

public function addresses()
{
return $this->morphsMany(Address::class, 'addressable');
return $this->morphMany(Address::class, 'addressable');
}
}
```
Expand Down

0 comments on commit f27545c

Please sign in to comment.