Passed
Push — v3.0 ( 064208...41a1d8 )
by Raza
09:20
created
src/Traits/PayPalVerifyIPN.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,13 +24,13 @@
 block discarded – undo
24 24
     {
25 25
         $headers = array_change_key_case($request->headers->all(), CASE_UPPER);
26 26
 
27
-        if(!isset($headers['PAYPAL-AUTH-ALGO'][0]) ||
27
+        if (!isset($headers['PAYPAL-AUTH-ALGO'][0]) ||
28 28
             !isset($headers['PAYPAL-TRANSMISSION-ID'][0]) ||
29 29
             !isset($headers['PAYPAL-CERT-URL'][0]) ||
30 30
             !isset($headers['PAYPAL-TRANSMISSION-SIG'][0]) ||
31 31
             !isset($headers['PAYPAL-TRANSMISSION-TIME'][0]) ||
32 32
             !isset($this->webhook_id)
33
-        ){
33
+        ) {
34 34
             \Log::error('Invalid headers or webhook id supplied for paypal webhook');
35 35
             return response()->json([
36 36
                 'status' => 'error',
Please login to merge, or discard this patch.