Passed
Branch issue/7-error-while-decoding-c... (4bfcb7)
by Karol
07:09
created
Category
src/Service/DecodeControllerParameters.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@
 block discarded – undo
23 23
     public function decodeControllerParameters(ControllerEvent $event): void
24 24
     {
25 25
         $controller = $event->getController();
26
-        if (is_array($controller)){
26
+        if (is_array($controller)) {
27 27
             list($controllerObject, $method) = $controller;
28
-        } elseif (is_object($controller) && !$controller instanceof \Closure){
28
+        } elseif (is_object($controller) && !$controller instanceof \Closure) {
29 29
             $controllerObject = $controller;
30 30
             $method = '__invoke';
31 31
         } else {
Please login to merge, or discard this patch.