particle-php / Validator

Particle\Validator is a validation library with an extremely clean API which makes validation fun!
http://validator.particle-php.com
252 stars 39 forks source link

Prove the bug with Container::traverse #184

Closed vova07 closed 6 years ago

vova07 commented 6 years ago

What?

There is a bug in Container::traverse() method. The added unit tests will fail because of exception which is throw for non-array values.

Expected

The added unit test should pass.

rick-nu commented 6 years ago

Fix proven, closing this one