<?php
declare(strict_types=1);
class AlwaysRetryStrategy
{
private const MIN_DELAY = 1000;
private const MAX_DELAY = self::MIN_DELAY * 60 * 10;
public function getWaitingTime(): int
{
return min(self::MAX_DELAY, 0);
}
}
Rector should skip it.
System error: "Unsupported operand types: string * int"
Bug Report
Minimal PHP Code Causing Issue
https://getrector.com/demo/17c6f325-f69b-4b02-b9e3-58f489a71ff6
Expected Behaviour
Rector should skip it.
Actual Behaviour