Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | static public function setupBuilderOptions($options) |
||
27 | { |
||
28 | $options->setters = Option::create()->setDescription('Build setters'); |
||
|
|||
29 | $options->getters = Option::create()->setDescription('Build getters'); |
||
30 | $options->noEnumConst = Option::create() |
||
31 | ->setDescription('Do not create constants for enum/const values'); |
||
32 | |||
33 | $options->declarePropertyDefaults = Option::create() |
||
34 | ->setDescription('Use default values to initialize properties'); |
||
35 | |||
36 | $options->buildAdditionalPropertiesAccessors = Option::create() |
||
37 | ->setDescription('Build accessors for additionalProperties'); |
||
38 | } |
||
50 | } |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..