Skip to content

Fix globalChain with number values#66

Open
albertcansado wants to merge 1 commit intoparticle-php:masterfrom
albertcansado:fix-array_filter
Open

Fix globalChain with number values#66
albertcansado wants to merge 1 commit intoparticle-php:masterfrom
albertcansado:fix-array_filter

Conversation

@albertcansado
Copy link
Contributor

The function filterArrayWithGlobalChain use array_filter to remove all empty values.
By default array_filter remove number as 0 or 0.0. PHP page

I have a case that I need to pass 0 value, I know I could use ->defaults(0), but I think 0 should be a valid value.

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.

1 participant