Skip to content

Commit

Permalink
Use mixed instead of string
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszhanc committed Jul 25, 2020
1 parent 7b2c1a3 commit dfdcb05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Assert.php
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ public static function ipv6($value, $message = '')
/**
* @psalm-pure
*
* @param string $value
* @param mixed $value
* @param string $message
*
* @throws InvalidArgumentException
Expand Down
8 changes: 4 additions & 4 deletions src/Mixin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -738,8 +738,8 @@ public static function nullOrUrl($value, $message = '');
/**
* @psalm-pure
*
* @param iterable<string> $value
* @param string $message
* @param mixed $value
* @param string $message
*
* @throws InvalidArgumentException
*/
Expand Down

0 comments on commit dfdcb05

Please sign in to comment.