Passed
Push — main ( 47d353...677be7 )
by Sammy
01:35
created
ReflectionFactory.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,9 @@
 block discarded – undo
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 ?
Please login to merge, or discard this patch.