Find the best Rector rule to solve your problem. Searching through 675 rules.

Found 1 rule. That's the one:

SignalableCommandInterfaceReturnTypeRector

Return int or false from SignalableCommandInterface::handleSignal() instead of void

-public function handleSignal(int $signal): void
+public function handleSignal(int $signal): int|false
     {
+        return false;
     }