Various code cleanup.

This commit is contained in:
James Cole
2017-06-05 11:12:50 +02:00
parent 64831b4c86
commit c4039b53e6
50 changed files with 274 additions and 217 deletions

View File

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

View File

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