버그 수정

This commit is contained in:
2019-04-21 16:57:05 +09:00
parent 186df66e81
commit da5fc417c5
60 changed files with 73 additions and 68 deletions
+4 -3
View File
@@ -235,7 +235,7 @@ abstract class BaseCommand{
public function testReservable():?string{
if($this->reservableConstraints === null){
return true;
return null;
}
if($this->reasonNotReservable){
@@ -284,7 +284,7 @@ abstract class BaseCommand{
'nation'=>$this->nation,
'arg'=>$this->arg,
'destGeneral'=>$this->destGeneralObj->getRaw(),
'destGeneral'=>$this->destGeneralObj?$this->destGeneralObj->getRaw():null,
'destCity'=>$this->destCity,
'destNation'=>$this->destNation,
];
@@ -300,7 +300,8 @@ abstract class BaseCommand{
return $this->reservable;
}
return $this->testReservable() === null;
$this->reservable = $this->testReservable() === null;
return $this->reservable;
}
public function isArgValid():bool{