@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | ]); |
79 | 79 | $result = explode(' ', $response->getBody()->getContents()); |
80 | 80 | |
81 | - if (! isset($result[0])) { |
|
81 | + if (!isset($result[0])) { |
|
82 | 82 | throw CouldNotSendNotification::invalidResponse(); |
83 | 83 | } |
84 | 84 | |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | */ |
111 | 111 | protected function prepareBody(NetGsmMessage $message): string |
112 | 112 | { |
113 | - $recipients = implode("\n", array_map(function ($recipient) { |
|
113 | + $recipients = implode("\n", array_map(function($recipient) { |
|
114 | 114 | return '<no>'.$recipient.'</no>'; |
115 | 115 | }, $message->recipients)); |
116 | 116 |
@@ -15,7 +15,7 @@ |
||
15 | 15 | { |
16 | 16 | $this->app->when(NetGsmChannel::class) |
17 | 17 | ->needs(NetGsmClient::class) |
18 | - ->give(function () { |
|
18 | + ->give(function() { |
|
19 | 19 | $config = config('services.netgsm'); |
20 | 20 | |
21 | 21 | if (is_null($config)) { |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | |
20 | 20 | public function __construct($body = '') |
21 | 21 | { |
22 | - if (! empty($body)) { |
|
22 | + if (!empty($body)) { |
|
23 | 23 | $this->body = trim($body); |
24 | 24 | } |
25 | 25 | } |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | */ |
53 | 53 | public function setRecipients($recipients) |
54 | 54 | { |
55 | - if (! is_array($recipients)) { |
|
55 | + if (!is_array($recipients)) { |
|
56 | 56 | $recipients = [$recipients]; |
57 | 57 | } |
58 | 58 | $this->recipients = $recipients; |