mirror of
https://github.com/anikeen-com/yaac.git
synced 2026-03-13 13:46:10 +00:00
Remove initial ip from Account
This commit is contained in:
@@ -20,11 +20,6 @@ class Account
|
|||||||
*/
|
*/
|
||||||
protected $isValid;
|
protected $isValid;
|
||||||
|
|
||||||
/**
|
|
||||||
* @var
|
|
||||||
*/
|
|
||||||
protected $initialIp;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
@@ -36,17 +31,14 @@ class Account
|
|||||||
* @param array $contact
|
* @param array $contact
|
||||||
* @param \DateTime $createdAt
|
* @param \DateTime $createdAt
|
||||||
* @param bool $isValid
|
* @param bool $isValid
|
||||||
* @param string $initialIp
|
|
||||||
* @param string $accountURL
|
* @param string $accountURL
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
public function __construct(
|
||||||
array $contact,
|
array $contact,
|
||||||
\DateTime $createdAt,
|
\DateTime $createdAt,
|
||||||
bool $isValid,
|
bool $isValid,
|
||||||
string $initialIp,
|
|
||||||
string $accountURL
|
string $accountURL
|
||||||
) {
|
) {
|
||||||
$this->initialIp = $initialIp;
|
|
||||||
$this->contact = $contact;
|
$this->contact = $contact;
|
||||||
$this->createdAt = $createdAt;
|
$this->createdAt = $createdAt;
|
||||||
$this->isValid = $isValid;
|
$this->isValid = $isValid;
|
||||||
@@ -89,15 +81,6 @@ class Account
|
|||||||
return $this->contact;
|
return $this->contact;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Return initial IP
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function getInitialIp(): string
|
|
||||||
{
|
|
||||||
return $this->initialIp;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns validation status
|
* Returns validation status
|
||||||
* @return bool
|
* @return bool
|
||||||
|
|||||||
Reference in New Issue
Block a user