Completed
Push — master ( 19a932...f889a9 )
by Raza
04:52
created
src/Traits/PayPalRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
     private function setApiProviderConfiguration($credentials)
220 220
     {
221 221
         // Setting PayPal API Credentials
222
-        collect($credentials[$this->mode])->map(function ($value, $key) {
222
+        collect($credentials[$this->mode])->map(function($value, $key) {
223 223
             $this->config[$key] = $value;
224 224
         });
225 225
 
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
     {
325 325
         $allowedBillingTypes = ['MerchantInitiatedBilling', 'MerchantInitiatedBillingSingleAgreement', 'RecurringPayments'];
326 326
         
327
-        if ($billingType != null && !in_array($billingType, $allowedBillingTypes )) {
327
+        if ($billingType != null && !in_array($billingType, $allowedBillingTypes)) {
328 328
             throw new \Exception('Billing type is not supported by PayPal.');
329 329
         }
330 330
 
Please login to merge, or discard this patch.