정적 분석기 결과 반영. 주로 배열 초기화. 변수 이름 실수 수정.

This commit is contained in:
2018-04-06 20:06:28 +09:00
parent 2bce82c73e
commit ffc0fc0c6f
20 changed files with 109 additions and 94 deletions
+2 -1
View File
@@ -13,6 +13,7 @@ class GameUnitDetail{
public $recruitType;
public $recruitCondition;
public $recruitFirst;
public $info;
public function __construct(
int $id,
@@ -62,7 +63,7 @@ class GameUnitDetail{
}
if($this->recruitType == 2){
$cityLevel = CityConst::byID($id)->level;
$cityLevel = CityConst::byID($this->id)->level;
$cityLevel = CityConst::$regionMap[$cityLevel];
if(!key_exists($this->recruitCondition, $ownCities)){