public function removeAllowedMimeType($type)
    {
        $key = array_search($type, $this->allowedMimeTypes);
        if ($key !== false) {
            unset($this->allowedMimeTypes[$key]);
            return true;
        }


        return false;
    }
public function removeAllowedMimeType($type)
    {
        $key = array_search($type, $this->allowedMimeTypes);
        if ($key !== false) {
            unset($this->allowedMimeTypes[$key]);
            return true;
        }


        return false;
    }
public function removeAllowedMimeType ( $ type ) { $ key = array_search ( $ type , $ this -> allowedMimeTypes ) ; if ( $ key !== false ) { unset ( $ this -> allowedMimeTypes [ $ key ] ) ; return true ; } return false ; }
Remove an allowed mime type from the list.

@param string $type
@return boolean true if found and removed, false otherwise
Remove an allowed mime type from the list .