From d50ca328033702ced91947e60939e3550ca0212a Mon Sep 17 00:00:00 2001 From: addshore Date: Sat, 5 Dec 2015 20:07:03 +0100 Subject: [PATCH] Fix phpdoc of wfArrayToCgi Change-Id: I87db5c251310f6f56f0ec47cbb7f034ed43c31ac --- includes/GlobalFunctions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 43b936b54b..d17a55de7b 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -458,12 +458,12 @@ function wfUrlencode( $s ) { } /** - * This function takes two arrays as input, and returns a CGI-style string, e.g. + * This function takes one or two arrays as input, and returns a CGI-style string, e.g. * "days=7&limit=100". Options in the first array override options in the second. * Options set to null or false will not be output. * * @param array $array1 ( String|Array ) - * @param array $array2 ( String|Array ) + * @param array|null $array2 ( String|Array ) * @param string $prefix * @return string */ -- 2.20.1