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