@@ -382,6 +382,9 @@ |
||
382 | 382 | } |
383 | 383 | |
384 | 384 | |
385 | + /** |
|
386 | + * @param string $path |
|
387 | + */ |
|
385 | 388 | private function fail(InvalidValue $exception, $path) |
386 | 389 | { |
387 | 390 | if ($path !== '#') { |
@@ -97,7 +97,7 @@ |
||
97 | 97 | if (isset($schemaArray[self::ID])) { |
98 | 98 | $parentScope = $this->resolutionScope; |
99 | 99 | $this->resolutionScope = Helper::resolveURI($parentScope, $schemaArray[self::ID]); |
100 | - $defer = new ScopeExit(function () use ($parentScope) { |
|
100 | + $defer = new ScopeExit(function() use ($parentScope) { |
|
101 | 101 | $this->resolutionScope = $parentScope; |
102 | 102 | }); |
103 | 103 | } |