정적 분석기 결과 반영

This commit is contained in:
Hide_D committed 2018-04-06 22:10:05 +09:00
1 parent d0e7358f68
commit 0639fc3b83
14 files changed
+173 -101

No files matched your search

+4
View File
@@ -21,6 +21,10 @@ class CityHelper{
$list = [];
$listInv = [];
$listByNation = [];
'@phan-var array<int,mixed>|null $list';
'@phan-var array<string,mixed>|null $listInv';
'@phan-var array<int,mixed>|null $listByNation';
foreach (DB::db()->query('SELECT `city` as `id`, `name`, `level`, `nation` from city') as $city) {
$id = $city['id'];