original_string: public function getImageType()
      {
          $this->imageType = ($this->imageType === 'jpg') ? 'jpeg' : $this->imageType;
          $this->imageType = ( in_array($this->imageType, $this->imageTypes) ) ? $this->imageType : 'png';
  
          return $this->imageType;
      }
code: public function getImageType()
      {
          $this->imageType = ($this->imageType === 'jpg') ? 'jpeg' : $this->imageType;
          $this->imageType = ( in_array($this->imageType, $this->imageTypes) ) ? $this->imageType : 'png';
  
          return $this->imageType;
      }
code_tokens: public function getImageType ( ) { $ this -> imageType = ( $ this -> imageType === 'jpg' ) ? 'jpeg' : $ this -> imageType ; $ this -> imageType = ( in_array ( $ this -> imageType , $ this -> imageTypes ) ) ? $ this -> imageType : 'png' ; return $ this -> imageType ; }
docstring: Get image type
  
  @return string
docstring_tokens: Get image type