Skip to content
This repository was archived by the owner on Nov 2, 2022. It is now read-only.

Conversation

TuzBot
Copy link

@TuzBot TuzBot commented Aug 7, 2017

By default array_filter removes any null entries when filtering through an array, which means the callback is not needed.

Than being said, for those that don't know array_filters default behaviour the written code with the callback shows its intent a bit clearer along with the comment.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 3.061% when pulling f0201f3 on TuzBot:master into 75e93bb on jamesryanbell:master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants