wip: 버그 수정중

This commit is contained in:
2023-08-01 16:28:27 +00:00
parent d72c3e4c41
commit e960446638
3 changed files with 12 additions and 13 deletions
+8 -8
View File
@@ -15,14 +15,14 @@ class General extends GeneralLite implements iAction
protected $rawCity = null;
/** @var Map<RankColumn,int|float> */
/** @var Map<RankColumn,int> */
protected Map $rankVarRead;
/** @var Map<RankColumn,int|float> */
/** @var Map<RankColumn,int> */
protected Map $rankVarIncrease;
/** @var Map<RankColumn,int|float> */
/** @var Map<RankColumn,int> */
protected Map $rankVarSet;
/** @var Map<GeneralAccessLogColumn,int|float> */
/** @var Map<GeneralAccessLogColumn,int|float|string> */
protected ?Map $accessLogRead;
/** @var \sammo\ActionLogger */
@@ -59,8 +59,8 @@ class General extends GeneralLite implements iAction
* @param null|Map<RankColumn,int|float> $rawRank
* @param null|Map<GeneralAccessLogColumn,int> $rawAccessLog
* @param null|array $city DB city 테이블의 row값
* @param int|null $year 게임 연도
* @param int|null $month 게임 월
* @param int $year 게임 연도
* @param int $month 게임 월
*/
public function __construct(array $raw, ?Map $rawRank, ?Map $rawAccessLog, ?array $city, ?array $nation, int $year, int $month)
{
@@ -931,7 +931,7 @@ class General extends GeneralLite implements iAction
}
if($queryMode < GeneralQueryMode::Full){
throw new \InvalidArgumentException('충분하지 않은 queryMode:' . $queryMode);
throw new \InvalidArgumentException('충분하지 않은 queryMode:' . $queryMode->name);
}
$db = DB::db();
@@ -1013,7 +1013,7 @@ class General extends GeneralLite implements iAction
static public function createGeneralObjFromDB(int $generalID, ?array $column = null, GeneralQueryMode $queryMode = GeneralQueryMode::Full): self
{
if($queryMode < GeneralQueryMode::Full){
throw new \InvalidArgumentException('충분하지 않은 queryMode:' . $queryMode);
throw new \InvalidArgumentException('충분하지 않은 queryMode:' . $queryMode->name);
}
$db = DB::db();