1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Added ArrayObject to the array_key_exists signature (#2066)

This commit is contained in:
Ivan Kurnosov 2019-08-26 13:40:53 +12:00 committed by Matthew Brown
parent b4213a9035
commit 431678c25d

View File

@ -195,7 +195,7 @@ function array_chunk(array $arr, int $size, bool $preserve_keys = false)
* @psalm-template TKey as array-key
*
* @param TKey $key
* @param array<TKey, mixed> $search
* @param array<TKey, mixed>|ArrayObject<TKey, mixed> $search
*
* @return bool
*/