phan 처리

This commit is contained in:
Hide_D committed 2020-05-02 12:01:54 +09:00
1 parent 8ebd6df41a
commit 18e2323cf4
47 files changed
+155 -95

No files matched your search

+3 -4
View File
@@ -2,6 +2,8 @@
namespace sammo;
class WarUnitGeneral extends WarUnit{
protected $raw;
function __construct(General $general, array $rawNation, bool $isAttacker){
$this->general = $general;
$this->raw = $general->getRaw();
@@ -301,10 +303,7 @@ class WarUnitGeneral extends WarUnit{
$this->checkStatChange();
}
/**
* @param \MeekroDB $db
*/
function applyDB($db):bool{
function applyDB(\MeekroDB $db):bool{
$affected = $this->getGeneral()->applyDB($db);
$this->getLogger()->flush();
return $affected;