aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiQueryBase.php
diff options
context:
space:
mode:
authorFomafix <fomafix@googlemail.com>2017-01-16 16:42:53 +0100
committerFomafix <fomafix@googlemail.com>2019-06-17 21:15:09 +0200
commit110a5877e9e6ebe7a6ecd758f5812f32fc4ef57e (patch)
tree941ec016a7ac67b2ca5025db686772f1031abd71 /includes/api/ApiQueryBase.php
parent874cf5f355f11148a99846a5cf7feee52d99cdb4 (diff)
downloadmediawikicore-110a5877e9e6ebe7a6ecd758f5812f32fc4ef57e.tar.gz
mediawikicore-110a5877e9e6ebe7a6ecd758f5812f32fc4ef57e.zip
Use [...] instead of array(...) in PHP comments and documentation
Change-Id: I0c83783051bf35fe785bc01644eeb2946902b6b2
Diffstat (limited to 'includes/api/ApiQueryBase.php')
-rw-r--r--includes/api/ApiQueryBase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/api/ApiQueryBase.php b/includes/api/ApiQueryBase.php
index 47ff0fb9219c..59ec4f61ca2e 100644
--- a/includes/api/ApiQueryBase.php
+++ b/includes/api/ApiQueryBase.php
@@ -252,7 +252,7 @@ abstract class ApiQueryBase extends ApiBase {
}
/**
- * Equivalent to addWhere(array($field => $value))
+ * Equivalent to addWhere( [ $field => $value ] )
* @param string $field Field name
* @param string|string[] $value Value; ignored if null or empty array
*/