@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | $module = 'message'; |
84 | 84 | $method = 'send.json'; |
85 | 85 | |
86 | - if (! $text) { |
|
86 | + if (!$text) { |
|
87 | 87 | return [ |
88 | 88 | 'success' => false, |
89 | 89 | 'result' => null, |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | ]; |
102 | 102 | |
103 | 103 | //SMS |
104 | - if ($type == 'sms' || ! $type) { |
|
104 | + if ($type == 'sms' || !$type) { |
|
105 | 105 | $body = $this->bodySMS($body, $text); |
106 | 106 | } |
107 | 107 | //VIBER |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | } |
160 | 160 | |
161 | 161 | $answer = $response->json(); |
162 | - if (! isset($answer['response_result']) || ! $answer['response_result']) { |
|
162 | + if (!isset($answer['response_result']) || !$answer['response_result']) { |
|
163 | 163 | $error = __('turbosms::turbosms.response_status.'.$answer['response_status']); |
164 | 164 | |
165 | 165 | return [ |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | public function phonesTrim($phones) |
261 | 261 | { |
262 | 262 | |
263 | - $phones->transform(function ($item) { |
|
263 | + $phones->transform(function($item) { |
|
264 | 264 | return preg_replace('/[^0-9]/', '', $item); |
265 | 265 | }); |
266 | 266 |