fix: phan 출력 결과에 따라 처리

- switch에 변수를 정하는 경우 default에 throw
- Util::getPost에 일부 타입 강제
- array인 일부 값들에 PHPDoc 타입 지정
- Enum에 toString이 없으므로 value값 지정
- 사용하지 않는 use function 제거
This commit is contained in:
Hide_D committed 2022-05-09 00:06:41 +09:00
1 parent e3e315a068
commit de5fe818e6
34 files changed
+23 -137

No files matched your search

+1 -6
View File
@@ -2,18 +2,13 @@
namespace sammo\Command\General;
use \sammo\{
DB, Util, JosaUtil,
General,
ActionLogger,
GameConst, GameUnitConst,
DB,
LastTurn,
Command
};
use \sammo\Constraint\Constraint;
use \sammo\Constraint\ConstraintHelper;
use function sammo\tryRollbackInheritUniqueItem;
use function sammo\tryUniqueItemLottery;
class che_은퇴 extends Command\GeneralCommand{