Skip to content

Commit f5b36ae

Browse files
fix: convert param type from nested array to array of strings (#54659)
1 parent 17786ca commit f5b36ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ public function whereHasMorph($relation, $types, ?Closure $callback = null, $ope
374374
* @template TRelatedModel of \Illuminate\Database\Eloquent\Model
375375
*
376376
* @param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation
377-
* @param string|array<int, array> $types
377+
* @param string|array<int, string> $types
378378
* @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback
379379
* @param string $operator
380380
* @param int $count

0 commit comments

Comments
 (0)