Passed
Branch master (b53e94)
by Justin
05:11
created
src/Subscription.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
                     break;
220 220
 
221 221
                 default:
222
-                    throw new Exception('Unexcepted interval unit: ' . $subscription->interval_unit);
222
+                    throw new Exception('Unexcepted interval unit: '.$subscription->interval_unit);
223 223
             }
224 224
 
225 225
             $subscriptionPeriodData = [
@@ -434,7 +434,7 @@  discard block
 block discarded – undo
434 434
             return $this;
435 435
         }
436 436
 
437
-        throw new Exception('Swap operation failed. Response: ' . json_encode($response));
437
+        throw new Exception('Swap operation failed. Response: '.json_encode($response));
438 438
     }
439 439
 
440 440
     /**
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
             return $this;
461 461
         }
462 462
 
463
-        throw new Exception('Cancel operation failed. Response: ' . json_encode($response));
463
+        throw new Exception('Cancel operation failed. Response: '.json_encode($response));
464 464
     }
465 465
 
466 466
     /**
@@ -484,7 +484,7 @@  discard block
 block discarded – undo
484 484
             return $this;
485 485
         }
486 486
 
487
-        throw new Exception('CancelNow operation failed. Response: ' . json_encode($response));
487
+        throw new Exception('CancelNow operation failed. Response: '.json_encode($response));
488 488
     }
489 489
 
490 490
     /**
@@ -516,6 +516,6 @@  discard block
 block discarded – undo
516 516
             return $this;
517 517
         }
518 518
 
519
-        throw new Exception('Resume operation failed. Response: ' . json_encode($response));
519
+        throw new Exception('Resume operation failed. Response: '.json_encode($response));
520 520
     }
521 521
 }
Please login to merge, or discard this patch.