Passed
Push — master ( 703993...ac2a98 )
by Andrey
03:28
created
src/TurboSMS.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.