diff --git a/src/Data/AccountUser.php b/src/Data/AccountUser.php index a825900..7808062 100755 --- a/src/Data/AccountUser.php +++ b/src/Data/AccountUser.php @@ -11,18 +11,16 @@ class AccountUser implements User { private string $name; private Url $profilePicture; private int $age; - private array $teams; /** * @param string $name * @param Url $profilePicture * @param int $age */ - public function __construct(string $name, Url $profilePicture, int $age, array $teams) { + public function __construct(string $name, Url $profilePicture, int $age) { $this->name = $name; $this->profilePicture = $profilePicture; $this->age = $age; - $this->teams = $teams; } @@ -50,8 +48,5 @@ class AccountUser implements User { $this->age = $age; } - public function getTeams(): array { - return $this->teams; - } } \ No newline at end of file