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