mirror of
https://github.com/pestphp/pest.git
synced 2026-03-09 09:17:23 +01:00
upgrade to phpstan level 6
This commit is contained in:
@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user