Completed
Pull Request — master (#9)
by Dawid
02:51
created
Category
src/Annotation/Header.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,5 +10,5 @@
 block discarded – undo
10 10
  */
11 11
 final class Header extends Parameter
12 12
 {
13
-    public $in = 'header';
13
+    public $in='header';
14 14
 }
Please login to merge, or discard this patch.
src/Annotation/PathItem/QueryParameter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,5 +12,5 @@
 block discarded – undo
12 12
  */
13 13
 class QueryParameter extends Parameter
14 14
 {
15
-    public $in = 'query';
15
+    public $in='query';
16 16
 }
Please login to merge, or discard this patch.
src/Annotation/PathItem/HeaderParameter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,5 +12,5 @@
 block discarded – undo
12 12
  */
13 13
 class HeaderParameter extends Parameter
14 14
 {
15
-    public $in = 'header';
15
+    public $in='header';
16 16
 }
Please login to merge, or discard this patch.
src/Annotation/PathItem/PathParameter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,5 +12,5 @@
 block discarded – undo
12 12
  */
13 13
 class PathParameter extends Parameter
14 14
 {
15
-    public $in = 'path';
15
+    public $in='path';
16 16
 }
Please login to merge, or discard this patch.
src/Annotation/PathItem/Operation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Annotation/PathItem/CookieParameter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,5 +12,5 @@
 block discarded – undo
12 12
  */
13 13
 class CookieParameter extends Parameter
14 14
 {
15
-    public $in = 'cookie';
15
+    public $in='cookie';
16 16
 }
Please login to merge, or discard this patch.
src/Annotation/PathItem.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,11 +73,11 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Annotation/SecurityScheme/OAuthFlow.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,6 +35,6 @@
 block discarded – undo
35 35
 
36 36
     protected function getRequiredParameters() : array
37 37
     {
38
-        return ['authorizationUrl', 'tokenUrl', 'scopes'];
38
+        return [ 'authorizationUrl', 'tokenUrl', 'scopes' ];
39 39
     }
40 40
 }
Please login to merge, or discard this patch.
src/Annotation/SecurityScheme/SecurityRequirement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,6 @@
 block discarded – undo
15 15
 
16 16
     public function __construct(array $values)
17 17
     {
18
-        $this->requirement = $values;
18
+        $this->requirement=$values;
19 19
     }
20 20
 }
Please login to merge, or discard this patch.