1 | <?php |
||
8 | class WidgetFormCreateEvent extends Event |
||
9 | { |
||
10 | /** |
||
11 | * @var array |
||
12 | */ |
||
13 | public $optionsContainer; |
||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | public $widgetFormTypeClass; |
||
18 | |||
19 | /** |
||
20 | * WidgetFormBuildEvent constructor. |
||
21 | * |
||
22 | * @param WidgetOptionsContainer $optionsContainer |
||
23 | * @param string $widgetFormTypeClass |
||
24 | */ |
||
25 | public function __construct(WidgetOptionsContainer $optionsContainer, $widgetFormTypeClass) |
||
30 | } |
||
31 |
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..