$payload of type string is incompatible with the type array expected by parameter $command of Symfony\Component\Process\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
24
return new Process(/** @scrutinizer ignore-type */ $payload);
Loading history...
25
}
26
27
throw BadPayloadException::unexpectedType($payload, 'string or '.Process::class, __CLASS__);