original_string: public function setType($type)
      {
          /**
           * Thoses WordType::__MIN and WordType::__MAX values are
           * only used to check if given type is okay according to
           * what we have in WordType.
           *
           * @see src/Client/Api/Enum/WordType.php
           */
          if (!($type >= WordType::__MIN && $type <= WordType::__MAX)) {
              throw new InvalidWordTypeException();
          }
          $this->type = $type;
  
          return $this;
      }
code: public function setType($type)
      {
          /**
           * Thoses WordType::__MIN and WordType::__MAX values are
           * only used to check if given type is okay according to
           * what we have in WordType.
           *
           * @see src/Client/Api/Enum/WordType.php
           */
          if (!($type >= WordType::__MIN && $type <= WordType::__MAX)) {
              throw new InvalidWordTypeException();
          }
          $this->type = $type;
  
          return $this;
      }
code_tokens: public function setType ( $ type ) { /**
           * Thoses WordType::__MIN and WordType::__MAX values are
           * only used to check if given type is okay according to
           * what we have in WordType.
           *
           * @see src/Client/Api/Enum/WordType.php
           */ if ( ! ( $ type >= WordType :: __MIN && $ type <= WordType :: __MAX ) ) { throw new InvalidWordTypeException ( ) ; } $ this -> type = $ type ; return $ this ; }
docstring: Set type of word you gonna translate.
  Returns false if type is incorrect.
  
  @param $type
  @return $this
  @throws InvalidWordTypeException
docstring_tokens: Set type of word you gonna translate . Returns false if type is incorrect .