refac: Auction DTO류를 새 DTO에 맞게 변경

This commit is contained in:
2022-06-09 01:21:21 +09:00
parent b7f8655109
commit 9d43b3e6a0
5 changed files with 38 additions and 83 deletions
+1 -1
View File
@@ -41,6 +41,6 @@ class Auction
if ($rawBettingInfo === null) {
throw new \RuntimeException("해당 경매가 없습니다: {$auctionID}");
}
$this->info = new AuctionInfo($rawBettingInfo);
$this->info = AuctionInfo::fromArray($rawBettingInfo);
}
}