Closed nyamsprod closed 4 years ago
This PR is to resolve #24
It adds a ApiProblem::fromArray named constructor by wrapping the already existing protected method ApiProblem::decompile and make sure that it does not fails with array missing the required ApiProblem keys
ApiProblem::fromArray
ApiProblem::decompile
Thanks! I was hoping someone would get to #24. :-)
This PR is to resolve #24
It adds a
ApiProblem::fromArray
named constructor by wrapping the already existing protected methodApiProblem::decompile
and make sure that it does not fails with array missing the required ApiProblem keys