Passed
Push — master ( 8ac87e...153b0b )
by Vince
01:47
created
src/core/route/router.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
             'responseType' => null,
200 200
         );
201 201
 
202
-        $this->setRoutes((object)$routesArray);
202
+        $this->setRoutes((object) $routesArray);
203 203
 
204 204
         return $this->getRoutes();
205 205
     }
Please login to merge, or discard this patch.
src/core/server.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
             $this->header = new headers\header();
161 161
             $this->header->setOptions($options);
162 162
 
163
-            if (empty((array)$this->header->getMethod())) {
163
+            if (empty((array) $this->header->getMethod())) {
164 164
                 $this->header->requestMethod();
165 165
             }
166 166
         }
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
     public function authenticate()
323 323
     {
324 324
         $options = $this->getOptions();
325
-        $route = (isset($options['route']) && !empty($options['route']) ) ? $options['route'] : '';
325
+        $route = (isset($options['route']) && !empty($options['route'])) ? $options['route'] : '';
326 326
 
327 327
         $this->endpoints->baseApiRoot(dirname(__DIR__));
328 328
         $this->endpoints->register();
Please login to merge, or discard this patch.