Permalink
Browse files

UPDATE bug fix

UPDATE bug fix when generating samples in sample file
  • Loading branch information...
mikaelcom committed Nov 1, 2012
1 parent 214c9d9 commit 3948452e3593c5ba8077f96cb589703bae3e1001
Showing with 1 addition and 1 deletion.
  1. +1 −1 WsdlToPhp.php
@@ -1198,7 +1198,7 @@ private function generateTutorialFile($_packageName,$_rootDirectory,$_rootDirect
$classParameters = $classMethod->getParameters();
$parameters = array();
foreach($classParameters as $classParameter)
array_push($parameters,'new ' . ucfirst(str_replace('_','',$classParameter->getName())) . '(/*** update parameters list ***/)');
array_push($parameters,'new ' . ucfirst(substr($classParameter->getName(),1)) . '(/*** update parameters list ***/)');
$content .= "\r\nif(\$$className->" . $classMethod->getName() . '(' . implode(',',$parameters) . '))';
$content .= "\r\n\t" . 'print_r($' . $className . '->getResult());';
$content .= "\r\nelse";

0 comments on commit 3948452

Please sign in to comment.