cloudflare icon indicating copy to clipboard operation
cloudflare copied to clipboard

Removes array_filter callable to use array_filter default behaviour

Open TuzBot opened this issue 7 years ago • 1 comments

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.

TuzBot avatar Aug 07 '17 20:08 TuzBot

Coverage Status

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

coveralls avatar Aug 07 '17 20:08 coveralls