Skip to content

Commit 66b66d6

Browse files
authored
Merge pull request #71 from Codeception/fix-name-of-unsetHttpHeader
Fix name of unsetHttpHeader method
2 parents 66f06c9 + 726acf6 commit 66b66d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Lib/InnerBrowser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ public function haveHttpHeader(string $name, string $value): void
380380
*
381381
* @param string $name the name of the header to unset.
382382
*/
383-
public function unsetHeader(string $name): void
383+
public function unsetHttpHeader(string $name): void
384384
{
385385
$name = implode('-', array_map('ucfirst', explode('-', strtolower(str_replace('_', '-', $name)))));
386386
unset($this->headers[$name]);

0 commit comments

Comments
 (0)