Zend certified PHP/Magento developer

M2.4.2 | Incompatible argument type: Required type

I keep getting this error after running a composer update, I have tried to isolate the problem in the old fashion manner, where I disabled all third-party modules but still not working, which makes me think this is Magento core problem:

php bin/magento setup:di:compile
Compilation was started.
Interception cache generation... 6/9 [==================>---------]  66% 52 secs 418.0 MiBErrors during compilation:
        MagentoFrameworkSetupOptionAbstractConfigOption
                Incompatible argument type: Required type: int. Actual type: string; File:
vendor/magento/framework/Setup/Option/AbstractConfigOption.php

Total Errors Count: 1

In Log.php line 92:

  [MagentoFrameworkValidatorException]
  Error during compilation

What is the origin of this variable?

enter image description here