diff --git a/src/Codeception/Lib/InnerBrowser.php b/src/Codeception/Lib/InnerBrowser.php index b07ed72..20cd4f9 100644 --- a/src/Codeception/Lib/InnerBrowser.php +++ b/src/Codeception/Lib/InnerBrowser.php @@ -380,7 +380,7 @@ public function haveHttpHeader(string $name, string $value): void * * @param string $name the name of the header to unset. */ - public function unsetHeader(string $name): void + public function unsetHttpHeader(string $name): void { $name = implode('-', array_map('ucfirst', explode('-', strtolower(str_replace('_', '-', $name))))); unset($this->headers[$name]);