Test Failed
Pull Request — master (#19)
by Flo
02:32
created
src/Controller/ErrorController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
             'line'    => $this->_exception->getLine()
81 81
         ];
82 82
 
83
-        $trace  = $this->_exception->getTrace();
83
+        $trace = $this->_exception->getTrace();
84 84
 
85 85
         if (isset($trace[0]['line']) && $trace[0]['line'] !== $raiser['line']) {
86 86
             array_unshift($trace, $raiser);
Please login to merge, or discard this patch.
src/Controller/Dispatcher.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         list($class, $action, $permission, $payload) = $this->getRoute($this->request->getPath());
84 84
 
85 85
         /** @var AbstractController $class */
86
-        $class   = new $class($this->request);
86
+        $class = new $class($this->request);
87 87
 
88 88
         if (!empty($permission)) {
89 89
 
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
 
334 334
             array_splice($var, 0, 1);
335 335
 
336
-            if ($this->requestType === 'default'  && in_array($this->request->getMethod(), $data['method'])) {
336
+            if ($this->requestType === 'default' && in_array($this->request->getMethod(), $data['method'])) {
337 337
 
338 338
                 return [
339 339
                     $data['controller'],
Please login to merge, or discard this patch.