Test Setup Failed
Branch — master (012c32)
by Zing
04:45
created
Category
src/Message.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
 
101 101
     protected function useAsCallable($value): bool
102 102
     {
103
-        return ! is_string($value) && is_callable($value);
103
+        return !is_string($value) && is_callable($value);
104 104
     }
105 105
 
106 106
     public function __toString()
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 = $notification->toSms($notifiable);
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/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.