Passed
Pull Request — 5.x (#250)
by Zing
21:41 queued 16:20
created
src/Connectors/Connector.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      */
47 47
     public function connect(array $config): self
48 48
     {
49
-        if (! isset($config['driver'])) {
49
+        if (!isset($config['driver'])) {
50 50
             throw new InvalidArgumentException('A driver must be specified.');
51 51
         }
52 52
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     protected function resolveDriver(string $driverClass, array $config): GatewayInterface
66 66
     {
67 67
         if (
68
-            ! class_exists($driverClass) || ! \in_array(
68
+            !class_exists($driverClass) || !\in_array(
69 69
                 GatewayInterface::class,
70 70
                 (array) class_implements($driverClass),
71 71
                 true
@@ -94,8 +94,8 @@  discard block
 block discarded – undo
94 94
      */
95 95
     protected function formatMessage($message): MessageInterface
96 96
     {
97
-        if (! $message instanceof MessageInterface) {
98
-            if (! \is_array($message)) {
97
+        if (!$message instanceof MessageInterface) {
98
+            if (!\is_array($message)) {
99 99
                 $message = [
100 100
                     'content' => $message,
101 101
                     'template' => $message,
Please login to merge, or discard this patch.