@@ -31,6 +31,6 @@ |
||
| 31 | 31 | |
| 32 | 32 | protected function getRequiredParameters(): array |
| 33 | 33 | { |
| 34 | - return []; |
|
| 34 | + return [ ]; |
|
| 35 | 35 | } |
| 36 | 36 | } |
@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | * @Enum("integer", "number", "string", "boolean", "object") |
| 13 | 13 | * @see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#data-types |
| 14 | 14 | */ |
| 15 | - public $type = 'string'; |
|
| 15 | + public $type='string'; |
|
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | 18 | * Primitive types can have optional modifier property `format` which can be any value. The following values are |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | * Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. |
| 46 | 46 | * @var bool |
| 47 | 47 | */ |
| 48 | - public $deprecated = false; |
|
| 48 | + public $deprecated=false; |
|
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | 51 | * Determines whether property can contain null value. |
@@ -31,5 +31,5 @@ |
||
| 31 | 31 | * and its value MUST be true. Otherwise, the property MAY be included and its default value is false. |
| 32 | 32 | * @var bool |
| 33 | 33 | */ |
| 34 | - public $required = true; |
|
| 34 | + public $required=true; |
|
| 35 | 35 | } |
@@ -25,6 +25,6 @@ |
||
| 25 | 25 | |
| 26 | 26 | protected function getRequiredParameters(): array |
| 27 | 27 | { |
| 28 | - return ['name']; |
|
| 28 | + return [ 'name' ]; |
|
| 29 | 29 | } |
| 30 | 30 | } |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * List of required properties in the schema |
| 27 | 27 | * @var string[] |
| 28 | 28 | */ |
| 29 | - public $required = []; |
|
| 29 | + public $required=[ ]; |
|
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * @var Property[] |
@@ -38,13 +38,13 @@ |
||
| 38 | 38 | * and its value MUST be true. Otherwise, the property MAY be included and its default value is false. |
| 39 | 39 | * @var bool |
| 40 | 40 | */ |
| 41 | - public $required = true; |
|
| 41 | + public $required=true; |
|
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | 44 | * Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. |
| 45 | 45 | * @var bool |
| 46 | 46 | */ |
| 47 | - public $deprecated = false; |
|
| 47 | + public $deprecated=false; |
|
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | 50 | * The location of the parameter. Possible values are "query", "header", "path" or "cookie". |
@@ -31,6 +31,6 @@ |
||
| 31 | 31 | |
| 32 | 32 | protected function getRequiredParameters(): array |
| 33 | 33 | { |
| 34 | - return []; |
|
| 34 | + return [ ]; |
|
| 35 | 35 | } |
| 36 | 36 | } |
@@ -32,5 +32,5 @@ |
||
| 32 | 32 | /** |
| 33 | 33 | * @var Type[] |
| 34 | 34 | */ |
| 35 | - public $links = []; |
|
| 35 | + public $links=[ ]; |
|
| 36 | 36 | } |
@@ -74,11 +74,11 @@ |
||
| 74 | 74 | /** |
| 75 | 75 | * @var Parameter |
| 76 | 76 | */ |
| 77 | - public $parameters = []; |
|
| 77 | + public $parameters=[ ]; |
|
| 78 | 78 | |
| 79 | 79 | /** |
| 80 | 80 | * An alternative server array to service all operations in this path. |
| 81 | 81 | * @var Reference[] |
| 82 | 82 | */ |
| 83 | - public $servers = []; |
|
| 83 | + public $servers=[ ]; |
|
| 84 | 84 | } |