Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ziming committed Feb 4, 2022
2 parents 90f4f22 + 0ca9519 commit 8fd53a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LaravelScrapingBee.php
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ public function addParams(array $params): self
public function setHeaders(array $headers): self
{
$this->headers = array_combine(
array_map(fn($key) => 'Spb-'. $key, array_keys($headers)),
array_map(fn ($key) => 'Spb-'. $key, array_keys($headers)),
$headers
);

Expand Down

0 comments on commit 8fd53a8

Please sign in to comment.