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 e0886fa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions 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 Expand Up @@ -1023,7 +1023,7 @@ public static function notContains($value, $subString, $message = '')
/**
* @psalm-pure
*
* @param string $value
* @param mixed $value
* @param string $message
*
* @throws InvalidArgumentException
Expand Down
16 changes: 8 additions & 8 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 Expand Up @@ -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
*/
Expand All @@ -1070,8 +1070,8 @@ public static function nullOrNotWhitespaceOnly($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 e0886fa

Please sign in to comment.