Skip to content

Commit

Permalink
Merge pull request #71 from Codeception/fix-name-of-unsetHttpHeader
Browse files Browse the repository at this point in the history
Fix name of unsetHttpHeader method
  • Loading branch information
Naktibalda authored Sep 13, 2024
2 parents 66f06c9 + 726acf6 commit 66b66d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Codeception/Lib/InnerBrowser.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 66b66d6

Please sign in to comment.