Completed
Pull Request — master (#70)
by
unknown
11:34
created
src/Paystack.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
             }
245 245
 
246 246
             return $validate;
247
-        }catch (RequestException $exception){
247
+        } catch (RequestException $exception){
248 248
             return false;
249 249
         }
250 250
     }
@@ -262,7 +262,9 @@  discard block
 block discarded – undo
262 262
         //for a parameter of 'trxref'
263 263
         $transactionRef = $trxref ?: request()->query('trxref');
264 264
 
265
-        if(!$transactionRef) throw new PaymentVerificationFailedException("Payment reference not provided");
265
+        if(!$transactionRef) {
266
+         throw new PaymentVerificationFailedException("Payment reference not provided");
267
+        }
266 268
 
267 269
         $relativeUrl = "/transaction/verify/{$transactionRef}";
268 270
 
Please login to merge, or discard this patch.