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
+5 -1
View File
@@ -143,7 +143,11 @@ class WarUnit{
}
function getLogger():ActionLogger{
return $this->getGeneral()->getLogger();
$logger = $this->getGeneral()->getLogger();
if($logger === null){
throw new \RuntimeException();
}
return $logger;
}
function getKilled():int{