$args is expanded, but the parameter $interval of Tarantool\JobQueue\Handl...Strategy::__construct() does not expect variable arguments.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
12
case RetryStrategies::CONSTANT: return new ConstantRetryStrategy(/** @scrutinizer ignore-type */ ...$args);
Loading history...
13
case RetryStrategies::EXPONENTIAL: return new ExponentialRetryStrategy(...$args);
$args is expanded, but the parameter $base of Tarantool\JobQueue\Handl...Strategy::__construct() does not expect variable arguments.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
13
case RetryStrategies::EXPONENTIAL: return new ExponentialRetryStrategy(/** @scrutinizer ignore-type */ ...$args);
Loading history...
14
3
case RetryStrategies::LINEAR: return new LinearRetryStrategy(...$args);
$args is expanded, but the parameter $step of Tarantool\JobQueue\Handl...Strategy::__construct() does not expect variable arguments.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
14
case RetryStrategies::LINEAR: return new LinearRetryStrategy(/** @scrutinizer ignore-type */ ...$args);
Loading history...
15
2
}
16
1
17
throw new \InvalidArgumentException(sprintf('Unknown retry strategy "%s".', $strategy));