Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function __construct(RenderInterface $renderer, QueryInterface $query, Record $entity) |
||
27 | { |
||
28 | $this->fields = array( |
||
|
|||
29 | new Generic('Name', t('Название', true), 0), |
||
30 | ); |
||
31 | |||
32 | // Call parent constructor to define all class fields |
||
33 | parent::__construct($renderer, $query, $entity); |
||
34 | } |
||
35 | } |
||
36 |
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..