|
@@ -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.