From 40197e3a9302e29e439b4b8c3d5e8db39b589931 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 20 Feb 2024 12:21:55 +0000 Subject: [PATCH] Fix PHPStan error --- src/Process/Process.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Process/Process.php b/src/Process/Process.php index 195d2c8..e95bbd1 100644 --- a/src/Process/Process.php +++ b/src/Process/Process.php @@ -8,13 +8,14 @@ use Symfony\Component\Process\Process as SymfonyProcess; /** * Create a new Process instance with some extra options. - * - * @param non-empty-array $command - * @param string $workingDir - * @param ?string $extraArgs */ final class Process { + /** + * @param non-empty-array $command + * @param string $workingDir + * @param ?string $extraArgs + */ public static function create(array $command, string $workingDir, ?string $extraArgs = null): SymfonyProcess { $process = new SymfonyProcess(command: array_filter([...$command, $extraArgs]));