Skip to content

Commit

Permalink
[10.x] BelongsToMany Docblock Improvements (#48282)
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Sep 4, 2023
1 parent 108f015 commit b2c197e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -502,7 +502,7 @@ protected function newMorphMany(Builder $query, Model $parent, $type, $id, $loca
* Define a many-to-many relationship.
*
* @param string $related
* @param string|null $table
* @param string|class-string<\Illuminate\Database\Eloquent\Model>|null $table
* @param string|null $foreignPivotKey
* @param string|null $relatedPivotKey
* @param string|null $parentKey
Expand Down Expand Up @@ -548,7 +548,7 @@ public function belongsToMany($related, $table = null, $foreignPivotKey = null,
*
* @param \Illuminate\Database\Eloquent\Builder $query
* @param \Illuminate\Database\Eloquent\Model $parent
* @param string $table
* @param string|class-string<\Illuminate\Database\Eloquent\Model> $table
* @param string $foreignPivotKey
* @param string $relatedPivotKey
* @param string $parentKey
Expand Down
Expand Up @@ -136,7 +136,7 @@ class BelongsToMany extends Relation
*
* @param \Illuminate\Database\Eloquent\Builder $query
* @param \Illuminate\Database\Eloquent\Model $parent
* @param string $table
* @param string|class-string<\Illuminate\Database\Eloquent\Model> $table
* @param string $foreignPivotKey
* @param string $relatedPivotKey
* @param string $parentKey
Expand Down

0 comments on commit b2c197e

Please sign in to comment.