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

Removes array_filter callable to use array_filter default behaviour #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

2 participants