버그 수정, 커맨드 사이즈 자동 반영

This commit is contained in:
2020-03-08 13:18:54 +09:00
parent 0d39add09c
commit d21c2f67ba
8 changed files with 47 additions and 9 deletions
+6
View File
@@ -163,6 +163,12 @@ class che_화계 extends Command\GeneralCommand{
return 0;
}
public function getBrief():string{
$commandName = $this->getName();
$destCityName = CityConst::byID($this->arg['destCityID'])->name;
return "{$destCityName}】에 {$commandName}실행";
}
public function getFailString():string{
$commandName = $this->getName();
$failReason = $this->testRunnable();
+1 -1
View File
@@ -2,7 +2,7 @@
namespace sammo\Constraint;
class NotBeNeutral extends Constraint{
class NotNeutralDestCity extends Constraint{
const REQ_VALUES = Constraint::REQ_DEST_CITY;
public function checkInputValues(bool $throwExeception=true):bool{