upgrade to phpstan level 6

This commit is contained in:
Fabio Ivona
2021-11-15 12:23:53 +01:00
parent f6004e07c1
commit ffd4e6d577
7 changed files with 25 additions and 10 deletions

View File

@ -11,6 +11,8 @@ final class Arr
{
/**
* Checks if the given array has the given key.
*
* @param array<mixed> $array
*/
public static function has(array $array, string|int $key): bool
{
@ -33,6 +35,8 @@ final class Arr
/**
* Gets the given key value.
*
* @param array<mixed> $array
*/
public static function get(array $array, string|int $key, mixed $default = null): mixed
{