apply suggestions

pull/2/head
maxime.batista 2 years ago
parent 9ce609acab
commit 5d1d807685

@ -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;
}
}
Loading…
Cancel
Save