Move code around for simplicity and fix tests.

This commit is contained in:
James Cole
2017-06-07 11:13:04 +02:00
parent 92c5cabd70
commit 8bbd3063ec
14 changed files with 271 additions and 251 deletions

View File

@@ -12,18 +12,18 @@ class RegisteredUser extends Mailable
/** @var string */
public $address;
/** @var string */
public $userIp;
public $ipAddress;
/**
* Create a new message instance.
*
* @param string $address
* @param string $userIp
* @param string $ipAddress
*/
public function __construct(string $address, string $userIp)
public function __construct(string $address, string $ipAddress)
{
$this->address = $address;
$this->userIp = $userIp;
$this->ipAddress = $ipAddress;
}
/**

View File

@@ -10,20 +10,20 @@ class RequestedNewPassword extends Mailable
{
use Queueable, SerializesModels;
/** @var string */
public $url;
public $ipAddress;
/** @var string */
public $userIp;
public $url;
/**
* RequestedNewPassword constructor.
*
* @param string $url
* @param string $userIp
* @param string $ipAddress
*/
public function __construct(string $url, string $userIp)
public function __construct(string $url, string $ipAddress)
{
$this->url = $url;
$this->userIp = $userIp;
$this->url = $url;
$this->ipAddress = $ipAddress;
}
/**