Skip to content

Commit c86c0fa

Browse files
committed
fix phpdocs
1 parent 5b1c936 commit c86c0fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ArrayHelper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public static function parametrizedMerge(array $arrays, ?int $depth): array
185185
*
186186
* @psalm-param ArrayKey|Closure $key
187187
*
188-
* @throws InvalidArgumentException if `$array` is an object.
188+
* @throws InvalidArgumentException if `$key` is callable and `$array` is an object.
189189
* @return mixed The value of the element if found or the return value of callable is truthy, default value otherwise.
190190
*/
191191
public static function getValue(

0 commit comments

Comments
 (0)