@@ -19,11 +19,11 @@ |
||
| 19 | 19 | |
| 20 | 20 | public function __construct() |
| 21 | 21 | { |
| 22 | - $this->type = 'oauth2'; |
|
| 22 | + $this->type='oauth2'; |
|
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | protected function getRequiredParameters() : array |
| 26 | 26 | { |
| 27 | - return ['flows']; |
|
| 27 | + return [ 'flows' ]; |
|
| 28 | 28 | } |
| 29 | 29 | } |
@@ -27,11 +27,11 @@ |
||
| 27 | 27 | |
| 28 | 28 | public function __construct() |
| 29 | 29 | { |
| 30 | - $this->type = 'http'; |
|
| 30 | + $this->type='http'; |
|
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | protected function getRequiredParameters() : array |
| 34 | 34 | { |
| 35 | - return ['scheme']; |
|
| 35 | + return [ 'scheme' ]; |
|
| 36 | 36 | } |
| 37 | 37 | } |
@@ -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. |
@@ -30,5 +30,5 @@ |
||
| 30 | 30 | /** |
| 31 | 31 | * @var \FatCode\OpenApi\Annotation\Link[]|\FatCode\OpenApi\Annotation\Reference[] |
| 32 | 32 | */ |
| 33 | - public $links = []; |
|
| 33 | + public $links=[ ]; |
|
| 34 | 34 | } |
@@ -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 | } |
@@ -31,6 +31,6 @@ |
||
| 31 | 31 | |
| 32 | 32 | protected function getRequiredParameters(): array |
| 33 | 33 | { |
| 34 | - return []; |
|
| 34 | + return [ ]; |
|
| 35 | 35 | } |
| 36 | 36 | } |
@@ -25,6 +25,6 @@ |
||
| 25 | 25 | |
| 26 | 26 | protected function getRequiredParameters(): array |
| 27 | 27 | { |
| 28 | - return ['name']; |
|
| 28 | + return [ 'name' ]; |
|
| 29 | 29 | } |
| 30 | 30 | } |
@@ -31,5 +31,5 @@ |
||
| 31 | 31 | /** |
| 32 | 32 | * @var \FatCode\OpenApi\Annotation\Link[]|\FatCode\OpenApi\Annotation\Reference[] |
| 33 | 33 | */ |
| 34 | - public $links = []; |
|
| 34 | + public $links=[ ]; |
|
| 35 | 35 | } |