Skip to content

Commit

Permalink
Update Assert.php
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims committed Jul 18, 2023
1 parent 6541e87 commit a2258a1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Utility/Assert.php
Original file line number Diff line number Diff line change
Expand Up @@ -1706,7 +1706,7 @@ public static function allNullOrImplementsInterface($value, $interface, $message
*
* @throws InvalidArgumentException
*/
public static function allNullOrInArray($value, $values, $message = ''): void
public static function allNullOrInArray($value, array $values, $message = ''): void
{
self::isIterable($value);

Expand Down Expand Up @@ -1840,7 +1840,7 @@ public static function allNullOrIpv6($value, $message = ''): void
*
* @throws InvalidArgumentException
*/
public static function allNullOrIsAnyOf($value, $classes, $message = ''): void
public static function allNullOrIsAnyOf($value, array $classes, $message = ''): void
{
self::isIterable($value);

Expand Down Expand Up @@ -2019,7 +2019,7 @@ public static function allNullOrIsInstanceOf($value, $class, $message = ''): voi
*
* @throws InvalidArgumentException
*/
public static function allNullOrIsInstanceOfAny($value, $classes, $message = ''): void
public static function allNullOrIsInstanceOfAny($value, array $classes, $message = ''): void
{
self::isIterable($value);

Expand Down Expand Up @@ -2733,7 +2733,7 @@ public static function allNullOrObject($value, $message = ''): void
*
* @throws InvalidArgumentException
*/
public static function allNullOrOneOf($value, $values, $message = ''): void
public static function allNullOrOneOf($value, array $values, $message = ''): void
{
self::isIterable($value);

Expand Down Expand Up @@ -5391,7 +5391,7 @@ public static function nullOrImplementsInterface($value, $interface, $message =
*
* @throws InvalidArgumentException
*/
public static function nullOrInArray($value, $values, $message = ''): void
public static function nullOrInArray($value, array $values, $message = ''): void
{
if (null !== $value) {
self::inArray($value, $values, $message);
Expand Down Expand Up @@ -5497,7 +5497,7 @@ public static function nullOrIpv6($value, $message = ''): void
*
* @throws InvalidArgumentException
*/
public static function nullOrIsAnyOf($value, $classes, $message = ''): void
public static function nullOrIsAnyOf($value, array $classes, $message = ''): void
{
if (null !== $value) {
self::isAnyOf($value, $classes, $message);
Expand Down Expand Up @@ -5644,7 +5644,7 @@ public static function nullOrIsInstanceOf($value, $class, $message = ''): void
*
* @throws InvalidArgumentException
*/
public static function nullOrIsInstanceOfAny($value, $classes, $message = ''): void
public static function nullOrIsInstanceOfAny($value, array $classes, $message = ''): void
{
if (null !== $value) {
self::isInstanceOfAny($value, $classes, $message);
Expand Down Expand Up @@ -6210,7 +6210,7 @@ public static function nullOrObject($value, $message = ''): void
*
* @throws InvalidArgumentException
*/
public static function nullOrOneOf($value, $values, $message = ''): void
public static function nullOrOneOf($value, array $values, $message = ''): void
{
if (null !== $value) {
self::oneOf($value, $values, $message);
Expand Down

0 comments on commit a2258a1

Please sign in to comment.