Skip to content

Commit

Permalink
CS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil-tekiela committed Oct 16, 2024
1 parent 6fff132 commit 7aa5653
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Assert.php
Original file line number Diff line number Diff line change
Expand Up @@ -1881,10 +1881,11 @@ public static function isList($array, $message = '')
$message ?: 'Expected list - non-associative array.'
);
}

return;
}

if ([] === $array) {
if (array() === $array) {
return;
}

Expand Down

0 comments on commit 7aa5653

Please sign in to comment.