diff --git a/src/Annotations/Schema.php b/src/Annotations/Schema.php index a0ab624a..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 + * @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 0dade38a..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 + * @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 d71d4045..6147238c 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[]|int[]|float[]|\UnitEnum[]|class-string $enum - * @param array $allOf - * @param array $anyOf - * @param array $oneOf - * @param array|null $x - * @param Attachable[]|null $attachables + * @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[]|bool[]|\UnitEnum[]|class-string $enum + * @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 9786a9b8..ad8f3606 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[]|int[]|float[]|\UnitEnum[]|class-string $enum - * @param array $allOf - * @param array $anyOf - * @param array $oneOf - * @param array|null $x - * @param Attachable[]|null $attachables + * @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[]|bool[]|\UnitEnum[]|class-string $enum + * @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 cf2b8a1b..e10c605d 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[]|int[]|float[]|\UnitEnum[]|class-string $enum - * @param array $allOf - * @param array $anyOf - * @param array $oneOf - * @param array|null $x - * @param Attachable[]|null $attachables + * @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[]|bool[]|\UnitEnum[]|class-string $enum + * @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 d1c7e24e..a3e2916c 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[]|int[]|float[]|\UnitEnum[]|class-string $enum - * @param array $allOf - * @param array $anyOf - * @param array $oneOf - * @param array|null $x - * @param Attachable[]|null $attachables + * @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[]|bool[]|\UnitEnum[]|class-string $enum + * @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 b8559491..3437bbc5 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[]|int[]|float[]|\UnitEnum[]|class-string $enum - * @param array $allOf - * @param array $anyOf - * @param array $oneOf - * @param mixed $const - * @param array|null $x - * @param Attachable[]|null $attachables + * @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[]|bool[]|\UnitEnum[]|class-string $enum + * @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/ServerVariable.php b/src/Attributes/ServerVariable.php index 3b096d47..a9f9e499 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[]|bool[]|\UnitEnum[]|class-string|null $enum + * @param array|null $x + * @param Attachable[]|null $attachables */ public function __construct( ?string $serverVariable = null, diff --git a/src/Attributes/XmlContent.php b/src/Attributes/XmlContent.php index d5809a7c..b4035994 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[]|int[]|float[]|\UnitEnum[]|class-string $enum - * @param array $allOf - * @param array $anyOf - * @param array $oneOf - * @param array|null $x - * @param Attachable[]|null $attachables + * @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[]|bool[]|\UnitEnum[]|class-string $enum + * @param array $allOf + * @param array $anyOf + * @param array $oneOf + * @param array|null $x + * @param Attachable[]|null $attachables */ public function __construct( ?array $examples = null,