From cb1e2482580beaf3e511278dd629ded599cddc1f Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 5 Oct 2021 09:47:20 +0200 Subject: [PATCH] Fix type annotation --- src/Composer/Util/ProcessExecutor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Composer/Util/ProcessExecutor.php b/src/Composer/Util/ProcessExecutor.php index dae545116..665b0e7b3 100644 --- a/src/Composer/Util/ProcessExecutor.php +++ b/src/Composer/Util/ProcessExecutor.php @@ -445,7 +445,7 @@ class ProcessExecutor /** * Escapes a string to be used as a shell argument. * - * @param string $argument The argument that will be escaped + * @param ?string $argument The argument that will be escaped * * @return string The escaped argument */ @@ -457,7 +457,7 @@ class ProcessExecutor /** * Copy of Symfony's Process::escapeArgument() which is private * - * @param string $argument + * @param ?string $argument * * @return string */