original_string: public function removeAllowedMimeType($type)
      {
          $key = array_search($type, $this->allowedMimeTypes);
          if ($key !== false) {
              unset($this->allowedMimeTypes[$key]);
              return true;
          }
  
  
          return false;
      }
code: public function removeAllowedMimeType($type)
      {
          $key = array_search($type, $this->allowedMimeTypes);
          if ($key !== false) {
              unset($this->allowedMimeTypes[$key]);
              return true;
          }
  
  
          return false;
      }
code_tokens: public function removeAllowedMimeType ( $ type ) { $ key = array_search ( $ type , $ this -> allowedMimeTypes ) ; if ( $ key !== false ) { unset ( $ this -> allowedMimeTypes [ $ key ] ) ; return true ; } return false ; }
docstring: Remove an allowed mime type from the list.
  
  @param string $type
  @return boolean true if found and removed, false otherwise
docstring_tokens: Remove an allowed mime type from the list .