@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | } |
84 | 84 | |
85 | 85 | $path = $this->envPath(); |
86 | - if (! file_exists($path)) { |
|
86 | + if (!file_exists($path)) { |
|
87 | 87 | $this->displayConnection($connection); |
88 | 88 | |
89 | 89 | return; |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | /** @var string $contents */ |
106 | 106 | $contents = file_get_contents($path); |
107 | 107 | |
108 | - if (! Str::contains($contents, 'SMS_CONNECTION')) { |
|
108 | + if (!Str::contains($contents, 'SMS_CONNECTION')) { |
|
109 | 109 | // create new entry |
110 | 110 | file_put_contents($path, PHP_EOL . sprintf('SMS_CONNECTION=%s', $connection) . PHP_EOL, FILE_APPEND); |
111 | 111 | |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | return false; |
119 | 119 | } |
120 | 120 | |
121 | - if (! $this->isConfirmed()) { |
|
121 | + if (!$this->isConfirmed()) { |
|
122 | 122 | $this->comment('Phew... No changes were made to your sms default connection.'); |
123 | 123 | |
124 | 124 | return false; |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | */ |
49 | 49 | public function connect(array $config): self |
50 | 50 | { |
51 | - if (! isset($config['driver'])) { |
|
51 | + if (!isset($config['driver'])) { |
|
52 | 52 | throw new InvalidArgumentException('A driver must be specified.'); |
53 | 53 | } |
54 | 54 | |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | */ |
66 | 66 | protected function resolveDriver(string $driverClass, array $config): GatewayInterface |
67 | 67 | { |
68 | - if (! class_exists($driverClass) || ! in_array( |
|
68 | + if (!class_exists($driverClass) || !in_array( |
|
69 | 69 | GatewayInterface::class, |
70 | 70 | (array) class_implements($driverClass), |
71 | 71 | true |
@@ -93,8 +93,8 @@ discard block |
||
93 | 93 | */ |
94 | 94 | protected function formatMessage($message): MessageInterface |
95 | 95 | { |
96 | - if (! ($message instanceof MessageInterface)) { |
|
97 | - if (! is_array($message)) { |
|
96 | + if (!($message instanceof MessageInterface)) { |
|
97 | + if (!is_array($message)) { |
|
98 | 98 | $message = [ |
99 | 99 | 'content' => $message, |
100 | 100 | 'template' => $message, |