@@ -45,8 +45,8 @@ |
||
45 | 45 | public function build() |
46 | 46 | { |
47 | 47 | return $this->view('emails.mail') |
48 | - ->from($this->from_address,$this->from_name) |
|
49 | - ->to($this->user->email) |
|
48 | + ->from($this->from_address,$this->from_name) |
|
49 | + ->to($this->user->email) |
|
50 | 50 | ->subject($this->subject) |
51 | 51 | ->with($this->with); |
52 | 52 | } |
@@ -11,11 +11,11 @@ |
||
11 | 11 | { |
12 | 12 | use Queueable, SerializesModels; |
13 | 13 | |
14 | - /** |
|
15 | - * Create a new message instance. |
|
16 | - * |
|
17 | - * @return void |
|
18 | - */ |
|
14 | + /** |
|
15 | + * Create a new message instance. |
|
16 | + * |
|
17 | + * @return void |
|
18 | + */ |
|
19 | 19 | public function __construct($file) |
20 | 20 | { |
21 | 21 |
@@ -23,9 +23,9 @@ |
||
23 | 23 | } |
24 | 24 | |
25 | 25 | function clean($string) { |
26 | - $string = str_replace(' ', '-', $string); // Replaces all spaces with hyphens. |
|
26 | + $string = str_replace(' ', '-', $string); // Replaces all spaces with hyphens. |
|
27 | 27 | |
28 | - return preg_replace('/[^A-Za-z0-9\-]/', '', $string); // Removes special chars. |
|
28 | + return preg_replace('/[^A-Za-z0-9\-]/', '', $string); // Removes special chars. |
|
29 | 29 | } |
30 | 30 | |
31 | 31 |