@@ -216,7 +216,7 @@ |
||
216 | 216 | return true; |
217 | 217 | } |
218 | 218 | $validator = new JsonValid(); |
219 | - $validator->check($data, (object)['$ref' => 'file://' . $this->jsonschema]); |
|
219 | + $validator->check($data, (object) ['$ref' => 'file://' . $this->jsonschema]); |
|
220 | 220 | if (!$validator->isValid()) { |
221 | 221 | $msg = "JSON does not validate. Violations:\n"; |
222 | 222 | foreach ($validator->getErrors() as $error) { |