original_string: protected function createSetterDoc($name, Type $type, $namespace)
      {
          return new Doc(sprintf(<<<EOD
  /**
   * @param %s %s
   *
   * @return self
   */
  EOD
          , $type->getDocTypeHint($namespace), '$'.$this->getNaming()->getPropertyName($name)));
      }
code: protected function createSetterDoc($name, Type $type, $namespace)
      {
          return new Doc(sprintf(<<<EOD
  /**
   * @param %s %s
   *
   * @return self
   */
  EOD
          , $type->getDocTypeHint($namespace), '$'.$this->getNaming()->getPropertyName($name)));
      }
code_tokens: protected function createSetterDoc ( $ name , Type $ type , $ namespace ) { return new Doc ( sprintf ( <<<EOD
  /**
   * @param %s %s
   *
   * @return self
   */
  EOD , $ type -> getDocTypeHint ( $ namespace ) , '$' . $ this -> getNaming ( ) -> getPropertyName ( $ name ) ) ) ; }
docstring: Return doc for set method.
  
  @param $name
  @param Type $type
  @param string $namespace
  
  @return Doc
docstring_tokens: Return doc for set method .