mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-01-19 08:57:55 +00:00
Fix function doc for actual parameter type
This commit is contained in:
parent
523b5f052c
commit
d35ce9740e
1 changed files with 2 additions and 2 deletions
|
@ -161,7 +161,7 @@ $pipe_fd = array(
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Excute git commands
|
* 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 &$stdout reference to $stdout variable, to receive stdout value
|
||||||
* @param string &$stderr reference to $stderr variable, to receive stderr value
|
* @param string &$stderr reference to $stderr variable, to receive stderr value
|
||||||
* @param string &$retval reference to $retval variable, to receive return 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
|
* 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
|
* @return bool true if return value is 0, false otherwise
|
||||||
*/
|
*/
|
||||||
function git_check($cmd_array) {
|
function git_check($cmd_array) {
|
||||||
|
|
Loading…
Reference in a new issue