| 1 | <?php |
||
| 11 | class DataModifierGroup |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var DataModifierInterface[] |
||
| 15 | */ |
||
| 16 | protected $dataModifiers; |
||
| 17 | /** |
||
| 18 | * @var DataModifierInterface[] |
||
| 19 | */ |
||
| 20 | protected $sortedDataModifiers; |
||
| 21 | |||
| 22 | 4 | public function __construct() |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @param DataModifierInterface $dataModifier |
||
| 30 | * @param int $priority |
||
| 31 | * |
||
| 32 | * @return $this |
||
| 33 | */ |
||
| 34 | 2 | public function addModifier(DataModifierInterface $dataModifier, int $priority = 0) : self |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @return DataModifierInterface[] |
||
| 44 | */ |
||
| 45 | 2 | public function getModifiers() : array |
|
| 56 | |||
| 57 | /** |
||
| 58 | * @param mixed $input |
||
| 59 | * |
||
| 60 | * @return mixed |
||
| 61 | */ |
||
| 62 | 1 | public function modify($input) |
|
| 70 | } |
||
| 71 |
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..