mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Added ArrayObject
to the array_key_exists
signature (#2066)
This commit is contained in:
parent
b4213a9035
commit
431678c25d
@ -195,7 +195,7 @@ function array_chunk(array $arr, int $size, bool $preserve_keys = false)
|
|||||||
* @psalm-template TKey as array-key
|
* @psalm-template TKey as array-key
|
||||||
*
|
*
|
||||||
* @param TKey $key
|
* @param TKey $key
|
||||||
* @param array<TKey, mixed> $search
|
* @param array<TKey, mixed>|ArrayObject<TKey, mixed> $search
|
||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user