jaroslavtyc/drd-plus-therugist-spells

View on GitHub
DrdPlus/Theurgist/Spells/SpellParameters/Partials/CastingParameter.php

Summary

Maintainability
A
0 mins
Test Coverage

Showing 3 of 3 total issues

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

$this->defaultValue = ToInteger::toInteger($values[0] ?? null);

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

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

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

. (array_key_exists(0, $values) ? ValueDescriber::describe($values[0], true) : 'nothing')

There are no issues that match your filters.

Category
Status