diff --git a/src/Assert.php b/src/Assert.php index 0e0e1d34..167f2d0c 100644 --- a/src/Assert.php +++ b/src/Assert.php @@ -709,7 +709,7 @@ public static function ipv6($value, $message = '') /** * @psalm-pure * - * @param string $value + * @param mixed $value * @param string $message * * @throws InvalidArgumentException @@ -1023,7 +1023,7 @@ public static function notContains($value, $subString, $message = '') /** * @psalm-pure * - * @param string $value + * @param mixed $value * @param string $message * * @throws InvalidArgumentException diff --git a/src/Mixin.php b/src/Mixin.php index 7664f971..613d25cf 100644 --- a/src/Mixin.php +++ b/src/Mixin.php @@ -728,8 +728,8 @@ public static function allIpv6($value, $message = ''); /** * @psalm-pure * - * @param null|string $value - * @param string $message + * @param mixed $value + * @param string $message * * @throws InvalidArgumentException */ @@ -738,8 +738,8 @@ public static function nullOrUrl($value, $message = ''); /** * @psalm-pure * - * @param iterable $value - * @param string $message + * @param mixed $value + * @param string $message * * @throws InvalidArgumentException */ @@ -1060,8 +1060,8 @@ public static function allNotContains($value, $subString, $message = ''); /** * @psalm-pure * - * @param null|string $value - * @param string $message + * @param mixed $value + * @param string $message * * @throws InvalidArgumentException */ @@ -1070,8 +1070,8 @@ public static function nullOrNotWhitespaceOnly($value, $message = ''); /** * @psalm-pure * - * @param iterable $value - * @param string $message + * @param mixed $value + * @param string $message * * @throws InvalidArgumentException */