From d35ce9740efbfb38195f8658788595f34e952ab9 Mon Sep 17 00:00:00 2001 From: Marcos de Oliveira Date: Tue, 11 May 2021 15:16:57 -0300 Subject: [PATCH] Fix function doc for actual parameter type --- var/www/pages/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/www/pages/index.php b/var/www/pages/index.php index 169833e..72806ac 100644 --- a/var/www/pages/index.php +++ b/var/www/pages/index.php @@ -161,7 +161,7 @@ $pipe_fd = array( /** * Excute git commands - * @param string $cmd_array git command to be executed + * @param array $cmd_array git command and parameters as an array * @param string &$stdout reference to $stdout variable, to receive stdout value * @param string &$stderr reference to $stderr variable, to receive stderr value * @param string &$retval reference to $retval variable, to receive return value @@ -185,7 +185,7 @@ function git_exec($cmd_array, &$stdout = false, &$retval = false, &$stderr = fal /** * Check whether git command succeeds - * @param string $command git command to be checked + * @param array $cmd_array git command and parameters as an array * @return bool true if return value is 0, false otherwise */ function git_check($cmd_array) {