New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added sizeof()
as alias of count()
for Smaller/SmallerOrEqual
#648
Conversation
the latest commit covers another case regarding 0 != count(), regarding non-empty-array type |
sizeof()
as alias of count for Smaller/SmallerOrEqual
sizeof()
as alias of count for Smaller/SmallerOrEqualsizeof()
as alias of count()
for Smaller/SmallerOrEqual
function doFoo3(array $arr): string | ||
{ | ||
if (0 != count($arr)) { | ||
assertType('string', reset($arr)); | ||
assertType('array&nonEmpty', $arr); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is basically deleting an existing test. Please add additional line instead of deleting this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh sorry, I misread the commit history, it's fine.
Thank you. |
triggered by #647 (comment)