Completed
Push — develop ( 3062c0...09456b )
by Mathias
07:45
created
module/Core/src/Core/Factory/Controller/LazyControllerFactory.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@  discard block
 block discarded – undo
59 59
 						if (array_key_exists($serviceName, $this->aliases)) {
60 60
 							$serviceName = $this->aliases[$serviceName];
61 61
 						}
62
-					}
63
-					else{
62
+					} else{
64 63
 						if( $p->getName() == 'config' ){
65 64
                             $serviceName = 'config';
66 65
                         }
@@ -74,8 +73,7 @@  discard block
 block discarded – undo
74 73
                     }
75 74
                     try {
76 75
                         $constructorArgs[] = $container->get($serviceName);
77
-                    }
78
-                    catch (\Exception $x) {
76
+                    } catch (\Exception $x) {
79 77
                         echo __CLASS__ . " couldn't create an instance of {$p->getName()} to satisfy the constructor for $requestedName.";
80 78
                         exit;
81 79
                     }
Please login to merge, or discard this patch.