Passed
Push — master ( 012c32...be25cd )
by Zing
05:07
created
src/Connectors/ConnectionFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      */
16 16
     public function make(array $config)
17 17
     {
18
-        if (! isset($config['driver'])) {
18
+        if (!isset($config['driver'])) {
19 19
             throw new InvalidArgumentException('A driver must be specified.');
20 20
         }
21 21
         $driver = $config['driver'];
Please login to merge, or discard this patch.
src/SmsServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
 
30 30
     public function register()
31 31
     {
32
-        $this->app->singleton('sms', function (Application $app) {
32
+        $this->app->singleton('sms', function(Application $app) {
33 33
             return $app->make(SmsManager::class);
34 34
         });
35
-        Notification::resolved(function (ChannelManager $service) {
36
-            $service->extend('sms', function (Application $app) {
35
+        Notification::resolved(function(ChannelManager $service) {
36
+            $service->extend('sms', function(Application $app) {
37 37
                 return $app->make(SmsChannel::class);
38 38
             });
39 39
         });
Please login to merge, or discard this patch.
src/Support/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         }
46 46
 
47 47
         foreach (explode('.', $key) as $segment) {
48
-            if (! is_array($config) || ! array_key_exists($segment, $config)) {
48
+            if (!is_array($config) || !array_key_exists($segment, $config)) {
49 49
                 return $default;
50 50
             }
51 51
             $config = $config[$segment];
Please login to merge, or discard this patch.
src/Message.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
      */
156 156
     protected function useAsCallable($value): bool
157 157
     {
158
-        return ! is_string($value) && is_callable($value);
158
+        return !is_string($value) && is_callable($value);
159 159
     }
160 160
 
161 161
     /**
Please login to merge, or discard this patch.
src/Channels/SmsChannel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,13 +36,13 @@
 block discarded – undo
36 36
     {
37 37
         $message = $this->getData($notifiable, $notification);
38 38
         $receiver = $this->resolveReceiver($notifiable, $notification);
39
-        if (! $receiver) {
39
+        if (!$receiver) {
40 40
             return;
41 41
         }
42 42
         if (is_string($message)) {
43 43
             $message = Message::text($message);
44 44
         }
45
-        if (! $message instanceof Message) {
45
+        if (!$message instanceof Message) {
46 46
             return;
47 47
         }
48 48
 
Please login to merge, or discard this patch.
src/Drivers/MeilianDriver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
                 'content' => strpos($content, '【') === 0 ? $content : $signature . $content,
37 37
             ]
38 38
         );
39
-        if (! is_string($result)) {
39
+        if (!is_string($result)) {
40 40
             throw new CouldNotSendNotification('meilian response does only seem to accept string.');
41 41
         }
42 42
         if (strpos($result, 'error') !== false) {
Please login to merge, or discard this patch.