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