Passed
Push — master ( bb40b8...fcbc9a )
by Michel
10:18
created
src/CmsmsMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
      */
69 69
     public function reference(string $reference)
70 70
     {
71
-        if (empty($reference) || strlen($reference) > 32 || ! ctype_alnum($reference)) {
71
+        if (empty($reference) || strlen($reference) > 32 || !ctype_alnum($reference)) {
72 72
             throw InvalidMessage::invalidReference($reference);
73 73
         }
74 74
 
Please login to merge, or discard this patch.
src/CmsmsServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         $this->app->when(CmsmsChannel::class)
16 16
             ->needs(CmsmsClient::class)
17
-            ->give(function () {
17
+            ->give(function() {
18 18
                 if (is_null($productToken = config('services.cmsms.product_token'))) {
19 19
                     throw InvalidConfiguration::configurationNotSet();
20 20
                 }
Please login to merge, or discard this patch.
src/CmsmsClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         // API returns an empty string on success
51 51
         // On failure, only the error string is passed
52 52
         $body = $response->getBody()->getContents();
53
-        if (! empty($body)) {
53
+        if (!empty($body)) {
54 54
             throw CouldNotSendNotification::serviceRespondedWithAnError($body);
55 55
         }
56 56
     }
Please login to merge, or discard this patch.
src/CmsmsChannel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public function send($notifiable, Notification $notification)
31 31
     {
32
-        if (! $recipient = $notifiable->routeNotificationFor('Cmsms')) {
32
+        if (!$recipient = $notifiable->routeNotificationFor('Cmsms')) {
33 33
             return;
34 34
         }
35 35
 
Please login to merge, or discard this patch.