Closed zonky2 closed 5 years ago
In what contao version does that happen?
sorry: Version 4.4.38
~Can you install hotfix/2.2.3 as 2.2.3
of mp_forms and give feedback? Thank you.~
I guess I‘d rather fix the type hints :)
I was thinking the type hint \Form $form
is very usual for legacy code 🤔
I wonder why this error happens anyway as Form should be aliased to \Contao\Form🤔
Since Contao 4.5 or so. Before that, the autoloading is a mystery.
It might be related to PHP 7.3, as that is more strict on these things afaik?
Workaround https://github.com/terminal42/contao-conditionalformfields/blob/master/ConditionalFormFields.php#L95-L123