jaroslavtyc/drd-plus-therugist-spells

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

Summary

Maintainability
A
0 mins
Test Coverage

Showing 2 of 2 total issues

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

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

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

$values[0] = ToInteger::toPositiveInteger($values[0] ?? null);

There are no issues that match your filters.

Category
Status