mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
phpstan support (#250)
* phpstan v1 + workflow * Fix intend * More fixes * Update phpstan.neon * phpstan level 2 * Move errors ignoring into phpstan.neon * phpstan level 3 * Don't ignore templates folder * Something from level 4 * Update phpstan.neon
This commit is contained in:
@@ -117,6 +117,9 @@ if(isset($todo) && $todo == 'save')
|
||||
$ranks = $new_guild->getGuildRanksList();
|
||||
$ranks->orderBy('level', POT::ORDER_DESC);
|
||||
foreach($ranks as $rank) {
|
||||
/**
|
||||
* @var OTS_GuildRank $rank
|
||||
*/
|
||||
if($rank->getLevel() == 3) {
|
||||
$player->setRank($rank);
|
||||
}
|
||||
|
Reference in New Issue
Block a user