@@ -199,7 +199,7 @@ |
||
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 | } |
@@ -160,7 +160,7 @@ discard block |
||
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 |
||
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(); |