diff --git a/src/Assert.php b/src/Assert.php index 09b7e16..20116cc 100644 --- a/src/Assert.php +++ b/src/Assert.php @@ -2025,7 +2025,7 @@ public static function isNonEmptyList(mixed $array, string $message = ''): array * * @psalm-assert array $array * - * @param array $array + * @param mixed|array $array * * @return array * diff --git a/src/Mixin.php b/src/Mixin.php index 863f509..ad0aeec 100644 --- a/src/Mixin.php +++ b/src/Mixin.php @@ -4896,7 +4896,7 @@ public static function allNullOrIsNonEmptyList(mixed $array, string $message = ' * @template T * @psalm-assert array|null $array * - * @param array|null $array + * @param mixed|array|null $array * * @return array|null * @@ -4915,7 +4915,7 @@ public static function nullOrIsMap(mixed $array, string $message = ''): mixed * @template T * @psalm-assert iterable> $array * - * @param iterable> $array + * @param iterable> $array * * @return iterable> * @@ -4938,7 +4938,7 @@ public static function allIsMap(mixed $array, string $message = ''): mixed * @template T * @psalm-assert iterable|null> $array * - * @param iterable|null> $array + * @param iterable|null> $array * * @return iterable|null> *