Passed
Push — master ( 46225b...54cc1f )
by Vince
07:19
created
src/core/route/router.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
             'post' => $payload
95 95
         ];
96 96
 
97
-        if( isset($this->requestBody['payload']) ) {
97
+        if (isset($this->requestBody['payload'])) {
98 98
             array_merge($this->requestBody['payload'], $payloadPost);
99 99
             return;
100 100
         }
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      */
120 120
     public function getRequestBody()
121 121
     {
122
-        if( isset($this->requestBody['payload']) ) {
122
+        if (isset($this->requestBody['payload'])) {
123 123
             return $this->requestBody['payload'];
124 124
         }
125 125
         return $this->requestBody;
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
             ),
172 172
         );
173 173
 
174
-        $this->routes = (object)$routesArray;
174
+        $this->routes = (object) $routesArray;
175 175
 
176 176
         return $this->routes;
177 177
     }
Please login to merge, or discard this patch.