Health/Afflictions/AfflictionByWound.php
Method __construct
has 11 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
SeriousWound $seriousWound, // wound can be healed, but never disappears - just stays healed
AfflictionProperty $property,
AfflictionDangerousness $dangerousness,
AfflictionDomain $domain,
AfflictionVirulence $virulence,
The method __construct has 11 parameters. Consider reducing the number of parameters to less than 10. Open
Open
protected function __construct(
SeriousWound $seriousWound, // wound can be healed, but never disappears - just stays healed
AfflictionProperty $property,
AfflictionDangerousness $dangerousness,
AfflictionDomain $domain,
- Exclude checks