diff --git a/src/ProcessFactory.php b/src/ProcessFactory.php index 7865f4b..46315e7 100644 --- a/src/ProcessFactory.php +++ b/src/ProcessFactory.php @@ -7,7 +7,7 @@ class ProcessFactory implements ProcessFactoryInterface { - public function getProcess(array $commandline, $cwd = null, array $env = null, $input = null, $timeout = 60, array $options = null) + public function getProcess(array $command, ?string $cwd = null, ?array $env = null, $input = null, ?float $timeout = 60); { return new Process($commandline, $cwd, $env, $input, $timeout); }