geraintluff/jsv4-php — pull request #2 by jdesrosiers (2014-01-12 18:39:43+00:00)
Title: Fix normalizeSchema when schema is an array

When the schema passed to normailzeSchema is an array of schemas, the function recursively calls itself for each schema in the array. However, it is passing the wrong parameters to the function. I also updated the tests to expose this bug.

I know the wrong parameters were being passed, but I am not sure I filled them in correctly.