Skip to content

Commit 0d6e126

Browse files
author
Enno Woortmann
committed
Merge remote-tracking branch 'origin/master' into drafts
2 parents cb1babc + 350ae8d commit 0d6e126

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Model/SchemaDefinition/SchemaDefinitionDictionary.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ private function parseExternalFile(
156156
// The file was already processed (either as a top-level initial class, or by an
157157
// earlier $ref from another schema). Reuse the existing schema — no duplicate class.
158158
$this->parsedExternalFileSchemas[$canonicalKey] = $existingSchema;
159-
$this->rawRefToCanonical[$jsonSchemaFile] = $canonicalKey;
159+
$this->rawRefToCanonical[$jsonSchemaFile] = $canonicalKey;
160160

161161
return $existingSchema->getSchemaDictionary()->getDefinition($externalKey, $schemaProcessor, $path);
162162
}
@@ -206,7 +206,7 @@ private function parseExternalFile(
206206
}
207207

208208
$this->parsedExternalFileSchemas[$canonicalKey] = $schema;
209-
$this->rawRefToCanonical[$jsonSchemaFile] = $canonicalKey;
209+
$this->rawRefToCanonical[$jsonSchemaFile] = $canonicalKey;
210210

211211
return $schema->getSchemaDictionary()->getDefinition($externalKey, $schemaProcessor, $path);
212212
}

0 commit comments

Comments
 (0)