Run Rector on your code to see what it can do for you:

 {
      public function run(int|string|float $firstValue, int|string|float $secondValue)
      {
-         return $firstValue == $secondValue;
+         return $firstValue === $secondValue;
      }
      
      public function rector(int|string|float $firstValue, int|string|float $secondValue)
PHP snippet to change

Applied Rules:

Not a change you expect?

Config  rector.php
Rector version: 6d8bee - released at 2026-05-04 23:43