@@ -59,8 +59,7 @@ discard block |
||
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 |
||
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 | } |