Skip to content

Commit 5545743

Browse files
committed
Merge branch 'chil360-master' into 4.1
2 parents c0a9b9b + 0ad542c commit 5545743

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/Mail/VerificationTokenGenerated.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ class VerificationTokenGenerated extends Mailable
3131
*
3232
* @var mixed
3333
*/
34-
public $from;
34+
public $from_address;
3535

3636
/**
3737
* The person name the message is from.
3838
*
3939
* @var mixed
4040
*/
41-
public $name;
41+
public $from_name;
4242

4343
/**
4444
* Create a new message instance.
@@ -48,14 +48,14 @@ class VerificationTokenGenerated extends Mailable
4848
public function __construct(
4949
AuthenticatableContract $user,
5050
$subject = null,
51-
$from = null,
52-
$name = null
51+
$from_address = null,
52+
$from_name = null
5353
)
5454
{
5555
$this->user = $user;
5656
$this->subject = $subject;
57-
$this->from = $from;
58-
$this->name = $name;
57+
$this->from_address = $from_address;
58+
$this->from_name = $from_name;
5959
}
6060

6161
/**
@@ -65,8 +65,8 @@ public function __construct(
6565
*/
6666
public function build()
6767
{
68-
if (! empty($this->from)) {
69-
$this->from($this->from, $this->name);
68+
if (! empty($this->from_address)) {
69+
$this->from($this->from_address, $this->from_name);
7070
}
7171

7272
$this->subject(is_null($this->subject)

0 commit comments

Comments
 (0)