@@ -51,8 +51,9 @@ |
||
51 | 51 | { |
52 | 52 | $constructor = $rc->getConstructor(); |
53 | 53 | |
54 | - if(empty($construction_args)) |
|
55 | - $construction_args = self::getConstructorParameters($constructor, $container); |
|
54 | + if(empty($construction_args)) { |
|
55 | + $construction_args = self::getConstructorParameters($constructor, $container); |
|
56 | + } |
|
56 | 57 | |
57 | 58 | $instance = null; |
58 | 59 | if ($constructor->isPrivate()) { // singleton ? |