Passed
Push — master ( 2a0134...2b7078 )
by Gaetano
05:26
created
src/Wrapper.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -608,8 +608,9 @@
 block discarded – undo
608 608
         }
609 609
         foreach ($parsVariations as $i => $pars) {
610 610
             $innerCode .= "  if (\$paramCount == " . count($pars) . ") \$retVal = {$catchWarnings}$realFuncName(" . implode(',', $pars) . ");\n";
611
-            if ($i < (count($parsVariations) - 1))
612
-                $innerCode .= "  else\n";
611
+            if ($i < (count($parsVariations) - 1)) {
612
+                            $innerCode .= "  else\n";
613
+            }
613 614
         }
614 615
 /// @todo here we should (could?) check for PhpXmlRpc/Response when dealing with a subclass namespace
615 616
         $innerCode .= "  if (is_a(\$retVal, '" . static::$namespace . "Response'))\n    return \$retVal;\n  else\n";
Please login to merge, or discard this patch.