Completed
Pull Request — develop (#14)
by Michael
06:03
created
JsonSchema/CachedSchemaStorage.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.