/**
  * @param PhpMethod $method
  * @return Operation
  */
 protected function defineParametersFromString(PhpMethod $method)
 {
     if ($this->isParameterTypeAString() && !$this->isParameterTypeAModel()) {
         $method->setParameters(array($this->getMethodParameter($this->getParameterName($this->getMethod()->getParameterType()))));
     }
     return $this;
 }