src/Widop/Twitter/OAuth/OAuthRequest.php
public function removeHeader($name)
    {
        if (!$this->hasHeader($name)) {
            throw new \InvalidArgumentException(sprintf('The request header "%s" does not exist.', $name));
        }

        unset($this->headers[$name]);
    }
public function removeHeader($name)
    {
        if (!$this->hasHeader($name)) {
            throw new \InvalidArgumentException(sprintf('The request header "%s" does not exist.', $name));
        }

        unset($this->headers[$name]);
    }
public function removeHeader ( $ name ) { if ( ! $ this -> hasHeader ( $ name ) ) { throw new \ InvalidArgumentException ( sprintf ( 'The request header "%s" does not exist.' , $ name ) ) ; } unset ( $ this -> headers [ $ name ] ) ; }
Removes a request header.

@param string $name The request header name.

@throws \InvalidArgumentException If the request header name does not exist.
Removes a request header .