Completed
Pull Request — master (#13)
by
unknown
02:29
created
src/Drivers/Melipayamak.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      * @param bool $flash
39 39
      * @return $this
40 40
      */
41
-    public function asFlash($flash=true)
41
+    public function asFlash($flash = true)
42 42
     {
43 43
         $this->settings->flash = $flash;
44 44
 
Please login to merge, or discard this patch.
src/Channels/SmsChannel.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
 
31 31
         // Send notification.
32
-        return $manager->send($message['body'], function ($sms) use ($message) {
32
+        return $manager->send($message['body'], function($sms) use ($message) {
33 33
             $sms->to($message['recipients']);
34 34
         });
35 35
     }
Please login to merge, or discard this patch.
src/Config/sms.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,10 +34,10 @@
 block discarded – undo
34 34
             'from' => 'Your Default From Number',
35 35
         ],
36 36
         'linkmobility' => [
37
-          'url' => 'http://simple.pswin.com', # Country Wise this may change.
38
-          'username' => 'Your Username',
39
-          'password' => 'Your Password',
40
-          'sender' => 'Sender name',
37
+            'url' => 'http://simple.pswin.com', # Country Wise this may change.
38
+            'username' => 'Your Username',
39
+            'password' => 'Your Password',
40
+            'sender' => 'Sender name',
41 41
         ],
42 42
         'melipayamak' => [ # Install: composer require melipayamak/php
43 43
             'username' => 'Your Username',
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
             'hash' => 'Your Hash',
29 29
             'sender' => 'Sender Name',
30 30
         ],
31
-        'twilio' => [ # Install: composer require twilio/sdk
31
+        'twilio' => [# Install: composer require twilio/sdk
32 32
             'sid' => 'Your SID',
33 33
             'token' => 'Your Token',
34 34
             'from' => 'Your Default From Number',
@@ -39,13 +39,13 @@  discard block
 block discarded – undo
39 39
           'password' => 'Your Password',
40 40
           'sender' => 'Sender name',
41 41
         ],
42
-        'melipayamak' => [ # Install: composer require melipayamak/php
42
+        'melipayamak' => [# Install: composer require melipayamak/php
43 43
             'username' => 'Your Username',
44 44
             'password' => 'Your Password',
45 45
             'from' => 'Your Default From Number',
46 46
             'flash' => false,
47 47
         ],
48
-        'kavenegar' => [ # Install: composer require kavenegar/php
48
+        'kavenegar' => [# Install: composer require kavenegar/php
49 49
             'apiKey' => 'Your Api Key',
50 50
             'from' => 'Your Default From Number',
51 51
         ],
Please login to merge, or discard this patch.
src/Drivers/Smsir.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             'SecretKey'=> $this->settings->secretKey,
45 45
         ];
46 46
         $response = $this->client->post(
47
-            $this->settings->url.'api/Token',
47
+            $this->settings->url . 'api/Token',
48 48
             [
49 49
                 'json' => $body,
50 50
                 'connect_timeout' => 30
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
                 'Mobile' => $recipient,
80 80
             ];
81 81
             $response = $this->client->post(
82
-                $this->settings->url.'api/UltraFastSend',
82
+                $this->settings->url . 'api/UltraFastSend',
83 83
                 [
84 84
                     'json' => $this->body,
85 85
                     'headers' => [
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
             'MobileNumbers' => [$this->recipients],
107 107
             'LineNumber' => $this->settings->from,
108 108
         ];
109
-        $response = $this->client->request("POST", $this->settings->url.'api/MessageSend',
109
+        $response = $this->client->request("POST", $this->settings->url . 'api/MessageSend',
110 110
             [
111 111
                 'json' => $body,
112 112
                 'headers' => [
Please login to merge, or discard this patch.