-
Notifications
You must be signed in to change notification settings - Fork 544
count(non-empty-array, COUNT_RECURSIVE) is int<1, max>
#4515
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
base: 2.1.x
Are you sure you want to change the base?
Conversation
| } | ||
|
|
||
| return $scope->getType($functionCall->getArgs()[0]->value)->getArraySize(); | ||
| return $scope->getType($args[0]->value)->getArraySize(); |
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.
maybe put the COUNT_MODE onto Type->getArraySize() as a first parameter
ondrejmirtes
left a comment
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.
What about the mutants? 😊
|
I cannot think of a test I am missing and which could kill the mutant |
Before this PR it was taken as
int<0, max>