정적 분석기 결과 반영. 주로 배열 초기화. 변수 이름 실수 수정.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<?php
|
||||
namespace sammo\Event\Action;
|
||||
use sammo\Util;
|
||||
use sammo\DB;
|
||||
|
||||
/**
|
||||
@@ -51,7 +50,7 @@ class RaiseInvader extends \sammo\Event\Action{
|
||||
private function moveCapital(){
|
||||
$cities = array_map(function ($value) {
|
||||
return $value;
|
||||
}, INVADER_LIST);
|
||||
}, static::INVADER_LIST);
|
||||
|
||||
$db = DB::db();
|
||||
|
||||
|
||||
@@ -17,9 +17,9 @@ class RegNPC extends \sammo\Event\Action{
|
||||
int $intel,
|
||||
int $birth = 160,
|
||||
int $death = 300,
|
||||
string $ego = null,
|
||||
string $char = null,
|
||||
string $text = null
|
||||
$ego = null,
|
||||
string $char = '',
|
||||
string $text = ''
|
||||
){
|
||||
$this->npc = new \sammo\Scenario\NPC(
|
||||
$affinity,
|
||||
|
||||
Reference in New Issue
Block a user