jaroslavtyc/drd-plus-therugist-spells

View on GitHub
DrdPlus/Theurgist/Spells/SpellParameters/RealmsAffection.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->value = ToInteger::toNegativeInteger($affectionParts[0] ?? null);

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

? ValueDescriber::describe($affectionParts[0])

Avoid using static access to class '\DrdPlus\Codes\Theurgist\AffectionPeriodCode' in method '__construct'.
Open

$this->affectionPeriod = AffectionPeriodCode::getIt($affectionParts[1] ?? AffectionPeriodCode::DAILY);

There are no issues that match your filters.

Category
Status