Passed
Push — master ( 5bfdd7...aa0864 )
by Henry
04:50
created
src/Paga.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -296,10 +296,10 @@  discard block
 block discarded – undo
296 296
         ];
297 297
 
298 298
         $hash = createHash($this->apiKey, [
299
-            $body['referenceNumber'],
300
-            $body['amount'],
301
-            $body['destinationBankUUID'],
302
-            $body['destinationBankAccountNumber'],
299
+            $body[ 'referenceNumber' ],
300
+            $body[ 'amount' ],
301
+            $body[ 'destinationBankUUID' ],
302
+            $body[ 'destinationBankAccountNumber' ],
303 303
         ]);
304 304
 
305 305
         $endpoint = 'paga-webservices/business-rest/secured/depositToBank';
@@ -358,9 +358,9 @@  discard block
 block discarded – undo
358 358
         ];
359 359
 
360 360
         $hash = createHash($this->apiKey, [
361
-            $body['referenceNumber'],
362
-            $body['amount'],
363
-            $body['destinationAccount'],
361
+            $body[ 'referenceNumber' ],
362
+            $body[ 'amount' ],
363
+            $body[ 'destinationAccount' ],
364 364
         ]);
365 365
 
366 366
         $endpoint = 'paga-webservices/business-rest/secured/moneyTransfer';
@@ -384,10 +384,10 @@  discard block
 block discarded – undo
384 384
         ];
385 385
 
386 386
         $hash = createHash($this->apiKey, [
387
-            $body['items'][0]['referenceNumber'],
388
-            $body['items'][0]['amount'],
389
-            $body['items'][0]['destinationAccount'],
390
-            count($body['items']),
387
+            $body[ 'items' ][ 0 ][ 'referenceNumber' ],
388
+            $body[ 'items' ][ 0 ][ 'amount' ],
389
+            $body[ 'items' ][ 0 ][ 'destinationAccount' ],
390
+            count($body[ 'items' ]),
391 391
         ]);
392 392
 
393 393
         $endpoint = 'paga-webservices/business-rest/secured/moneyTransferBulk';
@@ -413,8 +413,8 @@  discard block
 block discarded – undo
413 413
         ];
414 414
 
415 415
         $hash = createHash($this->apiKey, [
416
-            $body['reference'],
417
-            $body['merchantExternalId'],
416
+            $body[ 'reference' ],
417
+            $body[ 'merchantExternalId' ],
418 418
         ]);
419 419
 
420 420
         $endpoint = 'paga-webservices/business-rest/secured/onboardMerchant';
@@ -517,10 +517,10 @@  discard block
 block discarded – undo
517 517
         ];
518 518
 
519 519
         $hash = createHash($this->apiKey, [
520
-            $body['referenceNumber'],
521
-            $body['customerPhoneNumber'],
522
-            $body['customerFirstName'],
523
-            $body['customerLastName'],
520
+            $body[ 'referenceNumber' ],
521
+            $body[ 'customerPhoneNumber' ],
522
+            $body[ 'customerFirstName' ],
523
+            $body[ 'customerLastName' ],
524 524
         ]);
525 525
 
526 526
         $endpoint = 'paga-webservices/business-rest/secured/registerCustomer';
Please login to merge, or discard this patch.