From 515502136bc7c95347b5a3ba42afdbc71e5a3a9d Mon Sep 17 00:00:00 2001 From: momala454 Date: Mon, 21 Aug 2023 14:57:36 +0200 Subject: [PATCH 01/11] Update Schema.php --- src/Attributes/Schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Attributes/Schema.php b/src/Attributes/Schema.php index b8559491..3e16962c 100644 --- a/src/Attributes/Schema.php +++ b/src/Attributes/Schema.php @@ -17,7 +17,7 @@ class Schema extends \OpenApi\Annotations\Schema * @param Property[] $properties * @param int|float $maximum * @param int|float $minimum - * @param string[]|int[]|float[]|\UnitEnum[]|class-string $enum + * @param string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] $enum * @param array $allOf * @param array $anyOf * @param array $oneOf From fdf65701b6447d8d7f620e0e122e6acf207f6ac1 Mon Sep 17 00:00:00 2001 From: momala454 Date: Mon, 21 Aug 2023 14:58:19 +0200 Subject: [PATCH 02/11] Update AdditionalProperties.php --- src/Attributes/AdditionalProperties.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Attributes/AdditionalProperties.php b/src/Attributes/AdditionalProperties.php index d71d4045..83232f20 100644 --- a/src/Attributes/AdditionalProperties.php +++ b/src/Attributes/AdditionalProperties.php @@ -17,7 +17,7 @@ class AdditionalProperties extends \OpenApi\Annotations\AdditionalProperties * @param Property[] $properties * @param int|float $maximum * @param int|float $minimum - * @param string[]|int[]|float[]|\UnitEnum[]|class-string $enum + * @param string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] $enum * @param array $allOf * @param array $anyOf * @param array $oneOf From 314ef31b4e64c109c90f3489a35b3c5e9cc87fc3 Mon Sep 17 00:00:00 2001 From: momala454 Date: Mon, 21 Aug 2023 14:58:25 +0200 Subject: [PATCH 03/11] Update Items.php --- src/Attributes/Items.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Attributes/Items.php b/src/Attributes/Items.php index 9786a9b8..6fd40799 100644 --- a/src/Attributes/Items.php +++ b/src/Attributes/Items.php @@ -17,7 +17,7 @@ class Items extends \OpenApi\Annotations\Items * @param Property[] $properties * @param int|float $maximum * @param int|float $minimum - * @param string[]|int[]|float[]|\UnitEnum[]|class-string $enum + * @param string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] $enum * @param array $allOf * @param array $anyOf * @param array $oneOf From c4e2a74082d3686e653b3f8e7fbad3163e004207 Mon Sep 17 00:00:00 2001 From: momala454 Date: Mon, 21 Aug 2023 14:58:31 +0200 Subject: [PATCH 04/11] Update JsonContent.php --- src/Attributes/JsonContent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Attributes/JsonContent.php b/src/Attributes/JsonContent.php index cf2b8a1b..22436a43 100644 --- a/src/Attributes/JsonContent.php +++ b/src/Attributes/JsonContent.php @@ -18,7 +18,7 @@ class JsonContent extends \OpenApi\Annotations\JsonContent * @param Property[] $properties * @param int|float $maximum * @param int|float $minimum - * @param string[]|int[]|float[]|\UnitEnum[]|class-string $enum + * @param string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] $enum * @param array $allOf * @param array $anyOf * @param array $oneOf From abc29947727917c6701b506652292d970d6ca7bc Mon Sep 17 00:00:00 2001 From: momala454 Date: Mon, 21 Aug 2023 14:58:35 +0200 Subject: [PATCH 05/11] Update Property.php --- src/Attributes/Property.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Attributes/Property.php b/src/Attributes/Property.php index d1c7e24e..e045f76f 100644 --- a/src/Attributes/Property.php +++ b/src/Attributes/Property.php @@ -17,7 +17,7 @@ class Property extends \OpenApi\Annotations\Property * @param Property[] $properties * @param int|float $maximum * @param int|float $minimum - * @param string[]|int[]|float[]|\UnitEnum[]|class-string $enum + * @param string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] $enum * @param array $allOf * @param array $anyOf * @param array $oneOf From 2851dc3947d3e6d020ccc3b80b62091043c9fd39 Mon Sep 17 00:00:00 2001 From: momala454 Date: Mon, 21 Aug 2023 14:58:43 +0200 Subject: [PATCH 06/11] Update XmlContent.php --- src/Attributes/XmlContent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Attributes/XmlContent.php b/src/Attributes/XmlContent.php index d5809a7c..a3f7f5c4 100644 --- a/src/Attributes/XmlContent.php +++ b/src/Attributes/XmlContent.php @@ -18,7 +18,7 @@ class XmlContent extends \OpenApi\Annotations\XmlContent * @param int|float $maximum * @param int|float $minimum * @param Property[] $properties - * @param string[]|int[]|float[]|\UnitEnum[]|class-string $enum + * @param string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] $enum * @param array $allOf * @param array $anyOf * @param array $oneOf From 034e115216c4b6ceb5b5c2c482ae0ef77b10646f Mon Sep 17 00:00:00 2001 From: momala454 Date: Tue, 22 Aug 2023 09:16:42 +0200 Subject: [PATCH 07/11] Update Schema.php --- src/Annotations/Schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Annotations/Schema.php b/src/Annotations/Schema.php index a0ab624a..3407c182 100644 --- a/src/Annotations/Schema.php +++ b/src/Annotations/Schema.php @@ -245,7 +245,7 @@ class Schema extends AbstractAnnotation * * @see [JSON schema validation](http://json-schema.org/latest/json-schema-validation.html#anchor76) * - * @var string[]|int[]|float[]|\UnitEnum[]|class-string + * @var string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] */ public $enum = Generator::UNDEFINED; From a3fd64355e28d964a96db8a1504986dee1d26dbe Mon Sep 17 00:00:00 2001 From: momala454 Date: Tue, 22 Aug 2023 09:19:05 +0200 Subject: [PATCH 08/11] Update ServerVariable.php --- src/Annotations/ServerVariable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Annotations/ServerVariable.php b/src/Annotations/ServerVariable.php index 0dade38a..e0961586 100644 --- a/src/Annotations/ServerVariable.php +++ b/src/Annotations/ServerVariable.php @@ -27,7 +27,7 @@ class ServerVariable extends AbstractAnnotation /** * An enumeration of values to be used if the substitution options are from a limited set. * - * @var string[]|int[]|float[]|\UnitEnum[]|class-string + * @var string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] */ public $enum = Generator::UNDEFINED; From 097b7c6f7391bfd30eccd36a4cbb582a3e738f82 Mon Sep 17 00:00:00 2001 From: Attila Date: Thu, 31 Aug 2023 08:14:00 +0200 Subject: [PATCH 09/11] fix cs --- src/Attributes/AdditionalProperties.php | 20 ++++++++++---------- src/Attributes/Items.php | 20 ++++++++++---------- src/Attributes/JsonContent.php | 22 +++++++++++----------- src/Attributes/Property.php | 20 ++++++++++---------- src/Attributes/Schema.php | 22 +++++++++++----------- src/Attributes/XmlContent.php | 22 +++++++++++----------- 6 files changed, 63 insertions(+), 63 deletions(-) diff --git a/src/Attributes/AdditionalProperties.php b/src/Attributes/AdditionalProperties.php index 83232f20..242d507e 100644 --- a/src/Attributes/AdditionalProperties.php +++ b/src/Attributes/AdditionalProperties.php @@ -12,17 +12,17 @@ class AdditionalProperties extends \OpenApi\Annotations\AdditionalProperties { /** - * @param string|class-string|object|null $ref - * @param string[] $required - * @param Property[] $properties - * @param int|float $maximum - * @param int|float $minimum + * @param string|class-string|object|null $ref + * @param string[] $required + * @param Property[] $properties + * @param int|float $maximum + * @param int|float $minimum * @param string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] $enum - * @param array $allOf - * @param array $anyOf - * @param array $oneOf - * @param array|null $x - * @param Attachable[]|null $attachables + * @param array $allOf + * @param array $anyOf + * @param array $oneOf + * @param array|null $x + * @param Attachable[]|null $attachables */ public function __construct( // schema diff --git a/src/Attributes/Items.php b/src/Attributes/Items.php index 6fd40799..fa7decd5 100644 --- a/src/Attributes/Items.php +++ b/src/Attributes/Items.php @@ -12,17 +12,17 @@ class Items extends \OpenApi\Annotations\Items { /** - * @param string|class-string|object|null $ref - * @param string[] $required - * @param Property[] $properties - * @param int|float $maximum - * @param int|float $minimum + * @param string|class-string|object|null $ref + * @param string[] $required + * @param Property[] $properties + * @param int|float $maximum + * @param int|float $minimum * @param string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] $enum - * @param array $allOf - * @param array $anyOf - * @param array $oneOf - * @param array|null $x - * @param Attachable[]|null $attachables + * @param array $allOf + * @param array $anyOf + * @param array $oneOf + * @param array|null $x + * @param Attachable[]|null $attachables */ public function __construct( // schema diff --git a/src/Attributes/JsonContent.php b/src/Attributes/JsonContent.php index 22436a43..462c9a48 100644 --- a/src/Attributes/JsonContent.php +++ b/src/Attributes/JsonContent.php @@ -12,18 +12,18 @@ class JsonContent extends \OpenApi\Annotations\JsonContent { /** - * @param string|class-string|object|null $ref - * @param array $examples - * @param string[] $required - * @param Property[] $properties - * @param int|float $maximum - * @param int|float $minimum + * @param string|class-string|object|null $ref + * @param array $examples + * @param string[] $required + * @param Property[] $properties + * @param int|float $maximum + * @param int|float $minimum * @param string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] $enum - * @param array $allOf - * @param array $anyOf - * @param array $oneOf - * @param array|null $x - * @param Attachable[]|null $attachables + * @param array $allOf + * @param array $anyOf + * @param array $oneOf + * @param array|null $x + * @param Attachable[]|null $attachables */ public function __construct( ?array $examples = null, diff --git a/src/Attributes/Property.php b/src/Attributes/Property.php index e045f76f..d508ee2d 100644 --- a/src/Attributes/Property.php +++ b/src/Attributes/Property.php @@ -12,17 +12,17 @@ class Property extends \OpenApi\Annotations\Property { /** - * @param string|class-string|object|null $ref - * @param string[] $required - * @param Property[] $properties - * @param int|float $maximum - * @param int|float $minimum + * @param string|class-string|object|null $ref + * @param string[] $required + * @param Property[] $properties + * @param int|float $maximum + * @param int|float $minimum * @param string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] $enum - * @param array $allOf - * @param array $anyOf - * @param array $oneOf - * @param array|null $x - * @param Attachable[]|null $attachables + * @param array $allOf + * @param array $anyOf + * @param array $oneOf + * @param array|null $x + * @param Attachable[]|null $attachables */ public function __construct( ?string $property = null, diff --git a/src/Attributes/Schema.php b/src/Attributes/Schema.php index 3e16962c..dead19c9 100644 --- a/src/Attributes/Schema.php +++ b/src/Attributes/Schema.php @@ -12,18 +12,18 @@ class Schema extends \OpenApi\Annotations\Schema { /** - * @param string|class-string|object|null $ref - * @param string[] $required - * @param Property[] $properties - * @param int|float $maximum - * @param int|float $minimum + * @param string|class-string|object|null $ref + * @param string[] $required + * @param Property[] $properties + * @param int|float $maximum + * @param int|float $minimum * @param string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] $enum - * @param array $allOf - * @param array $anyOf - * @param array $oneOf - * @param mixed $const - * @param array|null $x - * @param Attachable[]|null $attachables + * @param array $allOf + * @param array $anyOf + * @param array $oneOf + * @param mixed $const + * @param array|null $x + * @param Attachable[]|null $attachables */ public function __construct( // schema diff --git a/src/Attributes/XmlContent.php b/src/Attributes/XmlContent.php index a3f7f5c4..0262955a 100644 --- a/src/Attributes/XmlContent.php +++ b/src/Attributes/XmlContent.php @@ -12,18 +12,18 @@ class XmlContent extends \OpenApi\Annotations\XmlContent { /** - * @param string|class-string|object|null $ref - * @param array $examples - * @param string[] $required - * @param int|float $maximum - * @param int|float $minimum - * @param Property[] $properties + * @param string|class-string|object|null $ref + * @param array $examples + * @param string[] $required + * @param int|float $maximum + * @param int|float $minimum + * @param Property[] $properties * @param string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] $enum - * @param array $allOf - * @param array $anyOf - * @param array $oneOf - * @param array|null $x - * @param Attachable[]|null $attachables + * @param array $allOf + * @param array $anyOf + * @param array $oneOf + * @param array|null $x + * @param Attachable[]|null $attachables */ public function __construct( ?array $examples = null, From 3caa67fba8f0236b73dee92434de847528b1f3dd Mon Sep 17 00:00:00 2001 From: Attila Date: Thu, 31 Aug 2023 08:20:46 +0200 Subject: [PATCH 10/11] add missing bool[] --- src/Attributes/ServerVariable.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Attributes/ServerVariable.php b/src/Attributes/ServerVariable.php index 3b096d47..2312b97f 100644 --- a/src/Attributes/ServerVariable.php +++ b/src/Attributes/ServerVariable.php @@ -12,9 +12,9 @@ class ServerVariable extends \OpenApi\Annotations\ServerVariable { /** - * @param string[]|int[]|float[]|\UnitEnum[]|class-string|null $enum - * @param array|null $x - * @param Attachable[]|null $attachables + * @param string[]|int[]|float[]|\UnitEnum[]|class-string|null|bool[] $enum + * @param array|null $x + * @param Attachable[]|null $attachables */ public function __construct( ?string $serverVariable = null, From 205d9f116ccac09a5f5e57825f3cb4b92be38487 Mon Sep 17 00:00:00 2001 From: Attila Date: Sat, 9 Sep 2023 08:49:13 +0200 Subject: [PATCH 11/11] reordering --- src/Annotations/Schema.php | 2 +- src/Annotations/ServerVariable.php | 2 +- src/Attributes/AdditionalProperties.php | 2 +- src/Attributes/Items.php | 2 +- src/Attributes/JsonContent.php | 2 +- src/Attributes/Property.php | 2 +- src/Attributes/Schema.php | 2 +- src/Attributes/ServerVariable.php | 2 +- src/Attributes/XmlContent.php | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Annotations/Schema.php b/src/Annotations/Schema.php index 3407c182..77c81853 100644 --- a/src/Annotations/Schema.php +++ b/src/Annotations/Schema.php @@ -245,7 +245,7 @@ class Schema extends AbstractAnnotation * * @see [JSON schema validation](http://json-schema.org/latest/json-schema-validation.html#anchor76) * - * @var string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] + * @var string[]|int[]|float[]|bool[]|\UnitEnum[]|class-string */ public $enum = Generator::UNDEFINED; diff --git a/src/Annotations/ServerVariable.php b/src/Annotations/ServerVariable.php index e0961586..07ef3f14 100644 --- a/src/Annotations/ServerVariable.php +++ b/src/Annotations/ServerVariable.php @@ -27,7 +27,7 @@ class ServerVariable extends AbstractAnnotation /** * An enumeration of values to be used if the substitution options are from a limited set. * - * @var string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] + * @var string[]|int[]|float[]|bool[]|\UnitEnum[]|class-string */ public $enum = Generator::UNDEFINED; diff --git a/src/Attributes/AdditionalProperties.php b/src/Attributes/AdditionalProperties.php index 242d507e..6147238c 100644 --- a/src/Attributes/AdditionalProperties.php +++ b/src/Attributes/AdditionalProperties.php @@ -17,7 +17,7 @@ class AdditionalProperties extends \OpenApi\Annotations\AdditionalProperties * @param Property[] $properties * @param int|float $maximum * @param int|float $minimum - * @param string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] $enum + * @param string[]|int[]|float[]|bool[]|\UnitEnum[]|class-string $enum * @param array $allOf * @param array $anyOf * @param array $oneOf diff --git a/src/Attributes/Items.php b/src/Attributes/Items.php index fa7decd5..ad8f3606 100644 --- a/src/Attributes/Items.php +++ b/src/Attributes/Items.php @@ -17,7 +17,7 @@ class Items extends \OpenApi\Annotations\Items * @param Property[] $properties * @param int|float $maximum * @param int|float $minimum - * @param string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] $enum + * @param string[]|int[]|float[]|bool[]|\UnitEnum[]|class-string $enum * @param array $allOf * @param array $anyOf * @param array $oneOf diff --git a/src/Attributes/JsonContent.php b/src/Attributes/JsonContent.php index 462c9a48..e10c605d 100644 --- a/src/Attributes/JsonContent.php +++ b/src/Attributes/JsonContent.php @@ -18,7 +18,7 @@ class JsonContent extends \OpenApi\Annotations\JsonContent * @param Property[] $properties * @param int|float $maximum * @param int|float $minimum - * @param string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] $enum + * @param string[]|int[]|float[]|bool[]|\UnitEnum[]|class-string $enum * @param array $allOf * @param array $anyOf * @param array $oneOf diff --git a/src/Attributes/Property.php b/src/Attributes/Property.php index d508ee2d..a3e2916c 100644 --- a/src/Attributes/Property.php +++ b/src/Attributes/Property.php @@ -17,7 +17,7 @@ class Property extends \OpenApi\Annotations\Property * @param Property[] $properties * @param int|float $maximum * @param int|float $minimum - * @param string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] $enum + * @param string[]|int[]|float[]|bool[]|\UnitEnum[]|class-string $enum * @param array $allOf * @param array $anyOf * @param array $oneOf diff --git a/src/Attributes/Schema.php b/src/Attributes/Schema.php index dead19c9..3437bbc5 100644 --- a/src/Attributes/Schema.php +++ b/src/Attributes/Schema.php @@ -17,7 +17,7 @@ class Schema extends \OpenApi\Annotations\Schema * @param Property[] $properties * @param int|float $maximum * @param int|float $minimum - * @param string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] $enum + * @param string[]|int[]|float[]|bool[]|\UnitEnum[]|class-string $enum * @param array $allOf * @param array $anyOf * @param array $oneOf diff --git a/src/Attributes/ServerVariable.php b/src/Attributes/ServerVariable.php index 2312b97f..a9f9e499 100644 --- a/src/Attributes/ServerVariable.php +++ b/src/Attributes/ServerVariable.php @@ -12,7 +12,7 @@ class ServerVariable extends \OpenApi\Annotations\ServerVariable { /** - * @param string[]|int[]|float[]|\UnitEnum[]|class-string|null|bool[] $enum + * @param string[]|int[]|float[]|bool[]|\UnitEnum[]|class-string|null $enum * @param array|null $x * @param Attachable[]|null $attachables */ diff --git a/src/Attributes/XmlContent.php b/src/Attributes/XmlContent.php index 0262955a..b4035994 100644 --- a/src/Attributes/XmlContent.php +++ b/src/Attributes/XmlContent.php @@ -18,7 +18,7 @@ class XmlContent extends \OpenApi\Annotations\XmlContent * @param int|float $maximum * @param int|float $minimum * @param Property[] $properties - * @param string[]|int[]|float[]|\UnitEnum[]|class-string|bool[] $enum + * @param string[]|int[]|float[]|bool[]|\UnitEnum[]|class-string $enum * @param array $allOf * @param array $anyOf * @param array $oneOf