Having a slight issue with compilation after upgrading from Magento 2.3.5-p2 to Magento 2.3.7
The following error received on step 6 of compilation
Magento\Framework\Setup\Option\AbstractConfigOption
Incompatible argument type: Required type: int. Actual type: string;
File:vendor/magento/framework/Setup/Option/AbstractConfigOption.php
System.log shows
main.ERROR: Error during compilation
#0 /setup/src/Magento/Setup/Module/Di/Code/Reader/Decorator/Interceptions.php(85): Magento\Setup\Module\Di\Compiler\Log\Log->report()
#1 /setup/src/Magento/Setup/Module/Di/App/Task/Operation/InterceptionCache.php(59): Magento\Setup\Module\Di\Code\Reader\Decorator\Interceptions->getList('/home/sites/...')
#2 /setup/src/Magento/Setup/Module/Di/App/Task/Manager.php(56): Magento\Setup\Module\Di\App\Task\Operation\InterceptionCache->doOperation()
#3 /setup/src/Magento/Setup/Console/Command/DiCompileCommand.php(206): Magento\Setup\Module\Di\App\Task\Manager->process(Object(Closure), Object(Closure))
#4 /vendor/symfony/console/Command/Command.php(255): Magento\Setup\Console\Command\DiCompileCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 /vendor/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 /vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Magento\Setup\Console\Command\DiCompileCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /vendor/magento/framework/Console/Cli.php(115): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /vendor/symfony/console/Application.php(149): Magento\Framework\Console\Cli->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /bin/magento(23): Symfony\Component\Console\Application->run()
Tried disabling all custom modules, still facing this issue - thoughts?