|
@@ -611,8 +611,9 @@ |
|
|
block discarded – undo |
|
611
|
611
|
} |
|
612
|
612
|
foreach ($parsVariations as $i => $pars) { |
|
613
|
613
|
$innerCode .= " if (\$paramCount == " . count($pars) . ") \$retVal = {$catchWarnings}$realFuncName(" . implode(',', $pars) . ");\n"; |
|
614
|
|
- if ($i < (count($parsVariations) - 1)) |
|
615
|
|
- $innerCode .= " else\n"; |
|
|
614
|
+ if ($i < (count($parsVariations) - 1)) { |
|
|
615
|
+ $innerCode .= " else\n"; |
|
|
616
|
+ } |
|
616
|
617
|
} |
|
617
|
618
|
$allowedResponseClass = static::$allowedResponseClass != '' ? static::$allowedResponseClass : static::$namespace . 'Response'; |
|
618
|
619
|
$innerCode .= " if (is_a(\$retVal, '" . $allowedResponseClass . "'))\n return \$retVal;\n else\n"; |
Please login to merge, or discard this patch.