@@ -68,7 +68,7 @@ |
||
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 |
@@ -14,7 +14,7 @@ |
||
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 | } |
@@ -50,7 +50,7 @@ |
||
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 | } |
@@ -29,7 +29,7 @@ |
||
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 |