Passed
Pull Request — master (#4)
by Zing
05:53
created
src/Message.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     public static function text($content)
33 33
     {
34
-        return (new static([],MessageContract::TEXT))->setContent($content);
34
+        return (new static([], MessageContract::TEXT))->setContent($content);
35 35
     }
36 36
 
37 37
     /**
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public static function voice($content)
43 43
     {
44
-        return (new static([],MessageContract::VOICE))->setContent($content);
44
+        return (new static([], MessageContract::VOICE))->setContent($content);
45 45
     }
46 46
 
47 47
     /**
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
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     {
38 38
         $message = $this->getData($notifiable, $notification);
39 39
         $receiver = $this->resolveReceiver($notifiable, $notification);
40
-        if (! $receiver) {
40
+        if (!$receiver) {
41 41
             return;
42 42
         }
43 43
         if (is_string($message)) {
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
                 'template' => $message,
47 47
             ]);
48 48
         }
49
-        if (! $message instanceof Message) {
49
+        if (!$message instanceof Message) {
50 50
             return;
51 51
         }
52 52
 
Please login to merge, or discard this patch.
src/Connectors/Connector.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,11 +34,11 @@  discard block
 block discarded – undo
34 34
 
35 35
     public function connect(array $config)
36 36
     {
37
-        if (! isset($config['driver'])) {
37
+        if (!isset($config['driver'])) {
38 38
             throw new InvalidArgumentException('A driver must be specified.');
39 39
         }
40 40
         $driver = $config['driver'];
41
-        if (! class_exists($driver) || ! in_array(GatewayInterface::class, class_implements($driver), true)) {
41
+        if (!class_exists($driver) || !in_array(GatewayInterface::class, class_implements($driver), true)) {
42 42
             throw new InvalidArgumentException("Unsupported driver [{$config['driver']}].");
43 43
         }
44 44
 
@@ -68,8 +68,8 @@  discard block
 block discarded – undo
68 68
      */
69 69
     protected function formatMessage($message)
70 70
     {
71
-        if (! ($message instanceof MessageInterface)) {
72
-            if (! is_array($message)) {
71
+        if (!($message instanceof MessageInterface)) {
72
+            if (!is_array($message)) {
73 73
                 $message = [
74 74
                     'content' => $message,
75 75
                     'template' => $message,
Please login to merge, or discard this patch.