Skip to content

Commit

Permalink
Update param types in docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
bskl committed Jan 5, 2025
1 parent 223a9f7 commit 3a745d7
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions src/Eloquent/HybridRelations.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,15 +334,15 @@ public function belongsToMany(
/**
* Define a morph-to-many relationship.
*
* @param string $related
* @param string $name
* @param null $table
* @param null $foreignPivotKey
* @param null $relatedPivotKey
* @param null $parentKey
* @param null $relatedKey
* @param null $relation
* @param bool $inverse
* @param class-string $related
* @param string $name
* @param string|null $table
* @param string|null $foreignPivotKey
* @param string|null $relatedPivotKey
* @param string|null $parentKey
* @param string|null $relatedKey
* @param string|null $relation
* @param bool $inverse
*
* @return \Illuminate\Database\Eloquent\Relations\MorphToMany
*/
Expand Down Expand Up @@ -410,13 +410,14 @@ public function morphToMany(
/**
* Define a polymorphic, inverse many-to-many relationship.
*
* @param string $related
* @param string $name
* @param null $table
* @param null $foreignPivotKey
* @param null $relatedPivotKey
* @param null $parentKey
* @param null $relatedKey
* @param class-string $related
* @param string $name
* @param string|null $table
* @param string|null $foreignPivotKey
* @param string|null $relatedPivotKey
* @param string|null $parentKey
* @param string|null $relatedKey
* @param string|null $relation
*
* @return \Illuminate\Database\Eloquent\Relations\MorphToMany
*/
Expand Down

0 comments on commit 3a745d7

Please sign in to comment.