Version: 4.0.4
Bug Description
Compile Error: Declaration of Nette\SmartObject::__call(string $name, array $args) must be compatible with Nette\Forms\Controls\BaseControl::__call(string $name, array $args): mixed in /var/www/html/vendor/nette/utils/src/SmartObject.php:28
Steps To Reproduce
Install:
nette/utils v4.0.4
nette/forms v3.2.3
Possible Solution
I suggest adding the mixed type to \Nette\SmartObject::__call or removing it from \Nette\Forms\Controls\BaseControl::__call.
Please let me know which solution you prefer, and I will create a pull request. Thank you.