From ef8da574f65b1dbe10d841c30a8ede33198db4c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Fri, 21 Jan 2022 15:35:26 +0100 Subject: [PATCH] Fix: Links to documentation --- src/SchemaNormalizer.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/SchemaNormalizer.php b/src/SchemaNormalizer.php index 750edc41..53c16285 100644 --- a/src/SchemaNormalizer.php +++ b/src/SchemaNormalizer.php @@ -142,7 +142,7 @@ private function normalizeArray( $itemSchema = $schema->items; /** - * @see https://spacetelescope.github.io/understanding-json-schema/reference/array.html#tuple-validation + * @see https://json-schema.org/understanding-json-schema/reference/array.html#tuple-validation */ if (\is_array($itemSchema)) { return \array_map(function ($item, \stdClass $itemSchema) { @@ -154,7 +154,7 @@ private function normalizeArray( } /** - * @see https://spacetelescope.github.io/understanding-json-schema/reference/array.html#list-validation + * @see https://json-schema.org/understanding-json-schema/reference/array.html#list-validation */ return \array_map(function ($item) use ($itemSchema) { return $this->normalizeData( @@ -223,7 +223,7 @@ private function resolveSchema( \stdClass $schema ): \stdClass { /** - * @see https://spacetelescope.github.io/understanding-json-schema/reference/combining.html#anyof + * @see https://json-schema.org/understanding-json-schema/reference/combining.html#anyof */ if ( \property_exists($schema, 'anyOf') @@ -246,7 +246,7 @@ private function resolveSchema( } /** - * @see https://spacetelescope.github.io/understanding-json-schema/reference/combining.html#oneof + * @see https://json-schema.org/understanding-json-schema/reference/combining.html#oneof */ if ( \property_exists($schema, 'oneOf') @@ -269,7 +269,7 @@ private function resolveSchema( } /** - * @see https://spacetelescope.github.io/understanding-json-schema/structuring.html#reuse + * @see https://json-schema.org/understanding-json-schema/structuring.html#reuse */ if ( \property_exists($schema, '$ref')