@@ -123,7 +123,7 @@ |
||
123 | 123 | protected function setRecipient(): void |
124 | 124 | { |
125 | 125 | $this->recipient = $this->argument('recipient') ?? |
126 | - $this->getPresetValue('recipient', $this->config->get('mail.from.address')); |
|
126 | + $this->getPresetValue('recipient', $this->config->get('mail.from.address')); |
|
127 | 127 | } |
128 | 128 | |
129 | 129 | protected function setDriver(): void |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | ); |
65 | 65 | |
66 | 66 | if ($validation->fails()) { |
67 | - collect($validation->errors()->all())->each(function($error){ |
|
67 | + collect($validation->errors()->all())->each(function($error) { |
|
68 | 68 | $this->error($error); |
69 | 69 | }); |
70 | 70 | return 1; |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | protected function getPresetValue($key, $default = null) |
99 | 99 | { |
100 | 100 | return $this->config->get( |
101 | - implode('.', [$this->getConfigPath(), $this->preset, $key]), |
|
101 | + implode('.', [ $this->getConfigPath(), $this->preset, $key ]), |
|
102 | 102 | $default |
103 | 103 | ); |
104 | 104 | } |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public function build() |
32 | 32 | { |
33 | - return $this->subject('Test email from '. config('app.name')) |
|
33 | + return $this->subject('Test email from '.config('app.name')) |
|
34 | 34 | ->to($this->recipient) |
35 | 35 | ->markdown('laravel-test-mail::emails.test'); |
36 | 36 | } |