@@ -27,7 +27,7 @@ |
||
27 | 27 | */ |
28 | 28 | public function handle() : void |
29 | 29 | { |
30 | - $this->call('vendor:publish', ['--tag' => 'postman-migration']); |
|
30 | + $this->call('vendor:publish', [ '--tag' => 'postman-migration' ]); |
|
31 | 31 | $this->call('migrate'); |
32 | 32 | $this->call('postman:seed'); |
33 | 33 | } |
@@ -13,10 +13,10 @@ |
||
13 | 13 | */ |
14 | 14 | public function postEmail(SheduleEmail $tasks) |
15 | 15 | { |
16 | - Mail::raw($tasks->email->text, function ($message) use ($tasks) { |
|
16 | + Mail::raw($tasks->email->text, function($message) use ($tasks) { |
|
17 | 17 | $message->subject($tasks->email->theme); |
18 | 18 | $message->from(config('mail.from.address')); |
19 | - $message->to($tasks->email->users->map(function($value){ return $value->email;})->toArray()); |
|
19 | + $message->to($tasks->email->users->map(function($value) { return $value->email; })->toArray()); |
|
20 | 20 | }); |
21 | 21 | |
22 | 22 | // if to reached the sender |