@@ -122,7 +122,7 @@ |
||
122 | 122 | * @param mixed $schema |
123 | 123 | * @param string $schemaFilePath |
124 | 124 | * @param array $serializedSchemas |
125 | - * @param array $resources |
|
125 | + * @param FileResource[] $resources |
|
126 | 126 | * |
127 | 127 | * @throws MalFormedJsonException |
128 | 128 | * @throws InvalidArgumentException |
@@ -135,7 +135,7 @@ |
||
135 | 135 | if (property_exists($toResolveSchema, '$ref') && is_string($toResolveSchema->{'$ref'})) { |
136 | 136 | $uri = $this->uriResolver->resolve($toResolveSchema->{'$ref'}, $schemaFilePath); |
137 | 137 | $jsonPointer = new JsonPointer($uri); |
138 | - $toResolveSchema->{'$ref'} = (string)$jsonPointer; |
|
138 | + $toResolveSchema->{'$ref'} = (string) $jsonPointer; |
|
139 | 139 | $this->processSchema($jsonPointer->getFilename(), $serializedSchemas, $resources); |
140 | 140 | } |
141 | 141 | } |