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