src/Result/NovaPartner.php
The class NovaPartner has 19 fields. Consider redesigning NovaPartner to keep the number of fields under 15. Open
Open
final class NovaPartner
{
/**
* @var string Value
*/
- Read upRead up
- Exclude checks
TooManyFields
Since: 0.1
Classes that have too many fields could be redesigned to have fewer fields, possibly through some nested object grouping of some of the information. For example, a class with city/state/zip fields could instead have one Address field.
Example
class Person {
protected $one;
private $two;
private $three;
[... many more fields ...]
}