Skip to content

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Jul 19, 2021

@staabm staabm marked this pull request as ready for review July 19, 2021 14:24
Comment on lines +48 to +52
if (!$argType->isIterableAtLeastOnce()->yes()) {
continue;
}

$nonEmpty = true;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't make much sense to me in this case, but phpcbf enforced the early-continue construct

@staabm
Copy link
Contributor Author

staabm commented Jul 19, 2021

ready to merge

@ondrejmirtes ondrejmirtes merged commit 0be769d into phpstan:master Jul 19, 2021
@ondrejmirtes
Copy link
Member

Thank you.

@staabm staabm deleted the non-empty-array-merge branch July 19, 2021 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants