src/AbstractTransport.php
public function removeHeaders(array $headers)
    {
        $this->inProcessingLoop = true;
        foreach ($headers as $value) {
            if (is_string($value) || is_numeric($value)) {
                unset($this->configs['headers'][$value]);
            }
        }

        $this->inProcessingLoop = false;
        return $this->buildConfigClient();
    }
public function removeHeaders(array $headers)
    {
        $this->inProcessingLoop = true;
        foreach ($headers as $value) {
            if (is_string($value) || is_numeric($value)) {
                unset($this->configs['headers'][$value]);
            }
        }

        $this->inProcessingLoop = false;
        return $this->buildConfigClient();
    }
Replace Headers Value

@param array $headers collection headers array
@return static