$lastNumber of type string is incompatible with the type integer expected by parameter $end of Semaphoro\Process::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
17
return new Process($firstNumber, /** @scrutinizer ignore-type */ $lastNumber, $isReprocess);
$firstNumber of type string is incompatible with the type integer expected by parameter $start of Semaphoro\Process::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
17
return new Process(/** @scrutinizer ignore-type */ $firstNumber, $lastNumber, $isReprocess);
Loading history...
18
}
19
20
/**
21
* @param $rangeNameWithoutPrefix
22
* @return array
23
*/
24
4
private function extractNumbers($rangeNameWithoutPrefix): array
25
{
26
4
return explode('_', $rangeNameWithoutPrefix);
27
}
28
29
/**
30
* @param ProcessInterface $process
31
* @return string
32
*/
33
3
public function getProcessKey(ProcessInterface $process): string