Does anyone know how to fix this error?
See below the settings I use:
Thank you in advance!
Static return type is PHP 8 feature but you are on PHP 7.4.
Set PHP version you expect to use in production in composer.json. It will
ensure Composer will install libraries accordingly to that PHP version instead
of your current PHP version
Thank you guys, config.platform.php in composer solved my problem. I didn't
know is that important :)