Fix phpdoc of wfArrayToCgi
authoraddshore <addshorewiki@gmail.com>
Sat, 5 Dec 2015 19:07:03 +0000 (20:07 +0100)
committeraddshore <addshorewiki@gmail.com>
Sat, 5 Dec 2015 19:07:03 +0000 (20:07 +0100)
Change-Id: I87db5c251310f6f56f0ec47cbb7f034ed43c31ac

includes/GlobalFunctions.php

index 43b936b..d17a55d 100644 (file)
@@ -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
  */