mirror of
https://github.com/anikeen-com/yaac.git
synced 2026-03-13 05:36:09 +00:00
Aktualisieren von Account.php
This commit is contained in:
@@ -4,12 +4,6 @@ namespace Afosto\Acme\Data;
|
||||
|
||||
class Account
|
||||
{
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $contact;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
@@ -34,12 +28,10 @@ class Account
|
||||
* @param string $accountURL
|
||||
*/
|
||||
public function __construct(
|
||||
array $contact,
|
||||
\DateTime $createdAt,
|
||||
bool $isValid,
|
||||
string $accountURL
|
||||
) {
|
||||
$this->contact = $contact;
|
||||
$this->createdAt = $createdAt;
|
||||
$this->isValid = $isValid;
|
||||
$this->accountURL = $accountURL;
|
||||
@@ -72,15 +64,6 @@ class Account
|
||||
return $this->accountURL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return contact data
|
||||
* @return array
|
||||
*/
|
||||
public function getContact(): array
|
||||
{
|
||||
return $this->contact;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns validation status
|
||||
* @return bool
|
||||
|
||||
Reference in New Issue
Block a user