diff --git a/src/Riot/DTO/SummonerDTO.php b/src/Riot/DTO/SummonerDTO.php index 6087733..fbc580f 100644 --- a/src/Riot/DTO/SummonerDTO.php +++ b/src/Riot/DTO/SummonerDTO.php @@ -12,8 +12,6 @@ final class SummonerDTO implements DTOInterface private int $revisionDate; - private string $name; - private string $id; private string $puuid; @@ -24,7 +22,6 @@ public function __construct( string $accountId, int $profileIconId, int $revisionDate, - string $name, string $id, string $puuid, int $summonerLevel @@ -32,7 +29,6 @@ public function __construct( $this->accountId = $accountId; $this->profileIconId = $profileIconId; $this->revisionDate = $revisionDate; - $this->name = $name; $this->id = $id; $this->puuid = $puuid; $this->summonerLevel = $summonerLevel; @@ -53,11 +49,6 @@ public function getRevisionDate(): int return $this->revisionDate; } - public function getName(): string - { - return $this->name; - } - public function getId(): string { return $this->id; @@ -82,7 +73,6 @@ public static function createFromArray(array $data): SummonerDTO $data['accountId'], $data['profileIconId'], $data['revisionDate'], - $data['name'], $data['id'], $data['puuid'], $data['summonerLevel'],