Skip to content

Commit

Permalink
Fix MorphTo::associate() PHPDoc parameter (#49162)
Browse files Browse the repository at this point in the history
  • Loading branch information
devfrey committed Nov 28, 2023
1 parent 50807db commit e533631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/Relations/MorphTo.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ protected function matchToMorphParents($type, Collection $results)
/**
* Associate the model instance to the given parent.
*
* @param \Illuminate\Database\Eloquent\Model $model
* @param \Illuminate\Database\Eloquent\Model|null $model
* @return \Illuminate\Database\Eloquent\Model
*/
public function associate($model)
Expand Down

0 comments on commit e533631

Please sign in to comment.