Permalink
Browse files

[UPDATE] minor generated setters PHP doc fix

  • Loading branch information...
mikaelcom committed Apr 18, 2013
1 parent 2bd8707 commit cf4d95f13141e97c0bba25cfe89f7f2e469f1516
Showing with 3 additions and 3 deletions.
  1. +3 −3 WsdlToPhpStructAttribute.php
@@ -206,18 +206,18 @@ public function getSetterDeclaration(&$_body,WsdlToPhpStruct $_struct)
{
if($model->getIsStruct())
{
array_push($comments,'@param ' . $model->getPackagedName() . ' the ' . $this->getName());
array_push($comments,'@param ' . $model->getPackagedName() . ' $_' . lcfirst($this->getCleanName()) . ' the ' . $this->getName());
array_push($comments,'@return ' . $model->getPackagedName());
}
else
{
array_push($comments,'@param ' . ($model->getInheritance()?$model->getInheritance():$this->getType()) . ' the ' . $this->getName());
array_push($comments,'@param ' . ($model->getInheritance()?$model->getInheritance():$this->getType()) . ' $_' . lcfirst($this->getCleanName()) . ' the ' . $this->getName());
array_push($comments,'@return ' . ($model->getInheritance()?$model->getInheritance():$this->getType()));
}
}
else
{
array_push($comments,'@param ' . $this->getType() . ' the ' . $this->getName());
array_push($comments,'@param ' . $this->getType() . ' $_' . lcfirst($this->getCleanName()) . ' the ' . $this->getName());
array_push($comments,'@return ' . $this->getType());
}
array_push($_body,array(

0 comments on commit cf4d95f

Please sign in to comment.