Skip to content

Commit

Permalink
Push error, delete old line
Browse files Browse the repository at this point in the history
  • Loading branch information
DikoIbragimov committed Dec 13, 2024
1 parent 3c20072 commit 6ccf05b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/RequestHeaders.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public function __construct(
* @return string|null
*/
public function getHeaderLine(string $name, string $default = null): string|null {
return $this->requestProvider->get()->hasHeader($name) ? $this->requestProvider->get()->getHeaderLine($name) : null;
return $this->requestProvider->get()->hasHeader($name) ? $this->requestProvider->get()->getHeaderLine($name) : $default;
}

Expand Down

0 comments on commit 6ccf05b

Please sign in to comment.