Aktualisieren von Account.php

This commit is contained in:
2025-06-17 09:46:29 +02:00
committed by GitHub
parent abd1beead7
commit c867f0acc6

View File

@@ -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