mirror of
https://github.com/slawkens/myaac.git
synced 2026-04-23 02:43:31 +02:00
Fix phpstan
This commit is contained in:
@@ -25,7 +25,7 @@ class ExpStages
|
||||
|
||||
foreach($xml->getElementsByTagName('stage') as $stage)
|
||||
{
|
||||
/** @var DOMElement $stage */
|
||||
/** @var \DOMElement $stage */
|
||||
$maxLevel = $stage->getAttribute('maxlevel');
|
||||
$this->stages[] = [
|
||||
'levels' => $stage->getAttribute('minlevel') . (isset($maxLevel[0]) ? '-' . $maxLevel : '+'),
|
||||
|
||||
Reference in New Issue
Block a user