Skip to content

Commit e74044d

Browse files
authored
Allow any value to be passed to Assertion::isCountable() (#303)
* Allow any value to be passed to Assertion::isCountable() Static analysis tools complain about type of `$value` argument but in fact it could be of any type since it will be checked later (that's the purpose of the method). * Revert unwanted changes Github's web IDE did something weird I think, I did not change those line on purpose (obviously).
1 parent cb70015 commit e74044d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Assert/Assertion.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ public static function isArrayAccessible($value, $message = null, string $proper
12331233
/**
12341234
* Assert that value is countable.
12351235
*
1236-
* @param array|Countable|ResourceBundle|SimpleXMLElement $value
1236+
* @param mixed $value
12371237
* @param string|callable|null $message
12381238
* @param string|null $propertyPath
12391239
*

0 commit comments

Comments
 (0)