Skip to content

Commit ef2427a

Browse files
committed
Update Undefined.php
Doh, missed another php < 5.4 compatibility bug
1 parent 0943a24 commit ef2427a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsonSchema/Constraints/Undefined.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ protected function validateOfProperties($value, $schema, $path, $i = "")
230230
}
231231

232232
if (isset($schema->oneOf)) {
233-
$allErrors = [];
233+
$allErrors = array();
234234
$matchedSchemas = 0;
235235
$startErrors = $this->getErrors();
236236
foreach ($schema->oneOf as $oneOf) {

0 commit comments

Comments
 (0)