@@ -10,5 +10,5 @@ |
||
10 | 10 | */ |
11 | 11 | final class Header extends Parameter |
12 | 12 | { |
13 | - public $in = 'header'; |
|
13 | + public $in='header'; |
|
14 | 14 | } |
@@ -12,5 +12,5 @@ |
||
12 | 12 | */ |
13 | 13 | class QueryParameter extends Parameter |
14 | 14 | { |
15 | - public $in = 'query'; |
|
15 | + public $in='query'; |
|
16 | 16 | } |
@@ -12,5 +12,5 @@ |
||
12 | 12 | */ |
13 | 13 | class HeaderParameter extends Parameter |
14 | 14 | { |
15 | - public $in = 'header'; |
|
15 | + public $in='header'; |
|
16 | 16 | } |
@@ -12,5 +12,5 @@ |
||
12 | 12 | */ |
13 | 13 | class PathParameter extends Parameter |
14 | 14 | { |
15 | - public $in = 'path'; |
|
15 | + public $in='path'; |
|
16 | 16 | } |
@@ -62,7 +62,7 @@ |
||
62 | 62 | * Declares this operation to be deprecated. Consumers SHOULD refrain from usage of the declared operation. |
63 | 63 | * @var bool |
64 | 64 | */ |
65 | - public $deprecated = false; |
|
65 | + public $deprecated=false; |
|
66 | 66 | |
67 | 67 | /** |
68 | 68 | * @var \FatCode\OpenApi\Annotation\SecurityScheme\SecurityRequirement |
@@ -12,5 +12,5 @@ |
||
12 | 12 | */ |
13 | 13 | class CookieParameter extends Parameter |
14 | 14 | { |
15 | - public $in = 'cookie'; |
|
15 | + public $in='cookie'; |
|
16 | 16 | } |
@@ -73,11 +73,11 @@ |
||
73 | 73 | /** |
74 | 74 | * @var \FatCode\OpenApi\Annotation\Parameter[] |
75 | 75 | */ |
76 | - public $parameters = []; |
|
76 | + public $parameters=[ ]; |
|
77 | 77 | |
78 | 78 | /** |
79 | 79 | * An alternative server array to service all operations in this path. |
80 | 80 | * @var \FatCode\OpenApi\Annotation\Reference[] |
81 | 81 | */ |
82 | - public $servers = []; |
|
82 | + public $servers=[ ]; |
|
83 | 83 | } |
@@ -35,6 +35,6 @@ |
||
35 | 35 | |
36 | 36 | protected function getRequiredParameters() : array |
37 | 37 | { |
38 | - return ['authorizationUrl', 'tokenUrl', 'scopes']; |
|
38 | + return [ 'authorizationUrl', 'tokenUrl', 'scopes' ]; |
|
39 | 39 | } |
40 | 40 | } |
@@ -15,6 +15,6 @@ |
||
15 | 15 | |
16 | 16 | public function __construct(array $values) |
17 | 17 | { |
18 | - $this->requirement = $values; |
|
18 | + $this->requirement=$values; |
|
19 | 19 | } |
20 | 20 | } |