Laravel Version
12.11.0
PHP Version
8.4.2
Database Driver & Version
No response
Description
#55572 introduced a new check on Illuminate\Console\Scheduling\Event::exitCode.
But this property is set only when runInBackground flag is false. Otherwise it is always null which now is getting compared to zero strictly, unlike the next check in the same function.
Steps To Reproduce
Schedule any console command with ->runInBackground() and wait for it to run, then check logs.