jaroslavtyc/drd-plus-therugist-spells

View on GitHub
DrdPlus/Theurgist/Spells/SpellParameters/Trap.php

Summary

Maintainability
A
0 mins
Test Coverage

Showing 3 of 3 total issues

Avoid using static access to class '\DrdPlus\Codes\Properties\PropertyCode' in method '__construct'.
Open

$this->propertyCode = PropertyCode::getIt($trapProperty[0] ?? '0');

Avoid using static access to class '\Granam\Tools\ValueDescriber' in method '__construct'.
Open

. (\array_key_exists(0, $trapProperty) ? ValueDescriber::describe($trapProperty[0]) : 'nothing')

Avoid using static access to class '\Granam\Integer\Tools\ToInteger' in method 'getWithAddition'.
Open

$additionValue = ToInteger::toInteger($additionValue);

There are no issues that match your filters.

Category
Status