Completed
Push — master ( f876d1...6f834b )
by John
03:35 queued 01:48
created
src/authnet/AuthnetWebhook.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -133,8 +133,7 @@
 block discarded – undo
133 133
         $headers = [];
134 134
         if (function_exists('apache_request_headers')) {
135 135
             $headers = apache_request_headers();
136
-        }
137
-        else {
136
+        } else {
138 137
             foreach ($_SERVER as $name => $value) {
139 138
                 if (substr($name, 0, 5) == 'HTTP_') {
140 139
                     $headers[str_replace(' ', '-', ucwords(strtoupper(str_replace('_', ' ', substr($name, 5)))))] = $value;
Please login to merge, or discard this patch.