Skip to content

Commit

Permalink
Update AuthnetWebhook.php
Browse files Browse the repository at this point in the history
Tweak for matting to match rest of project
  • Loading branch information
stymiee authored Jun 18, 2020
1 parent 9b7ffe7 commit abdc4a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/authnet/AuthnetWebhook.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ protected function getAllHeaders()
$headers = [];
foreach ($_SERVER as $key => $value) {
if (strpos($key, 'HTTP_') === 0) {
$headers[ str_replace('_', '-', substr($key, 5)) ] = $value;
$headers[str_replace('_', '-', substr($key, 5))] = $value;
}
}
}
Expand Down

0 comments on commit abdc4a7

Please sign in to comment.