phan 처리

This commit is contained in:
2020-05-02 12:01:54 +09:00
parent c8948953c9
commit 016ca770f5
47 changed files with 155 additions and 95 deletions
+1 -6
View File
@@ -14,10 +14,6 @@ use \sammo\Constraint\Constraint;
use \sammo\Constraint\ConstraintHelper;
abstract class BaseCommand{
/**
* @var General|null $generalObj
* @var General|null $destGeneralObj
*/
static protected $actionName = 'CommandName';
static public $reqArg = false;
@@ -253,7 +249,7 @@ abstract class BaseCommand{
return static::$actionName;
}
public function getLogger():ActionLogger{
public function getLogger():?ActionLogger{
return $this->logger;
}
@@ -403,7 +399,6 @@ abstract class BaseCommand{
}
public function getForm():string{
throw new \sammo\MustNotBeReachedException();
return '';
}
public function getLastTurn():LastTurn{