aboutsummaryrefslogtreecommitdiffstats
path: root/includes/json
diff options
context:
space:
mode:
authorAntoine Musso <hashar@free.fr>2012-07-10 14:48:06 +0200
committerAntoine Musso <hashar@free.fr>2012-07-10 17:08:32 +0200
commitaab43dd49523476f3ec28c695e43006446a7be7a (patch)
treefce6adc933950d5ee55dfbae96546a953a846f19 /includes/json
parentd11d3282a5153bd47ea6011f7b4e94773c8e97f7 (diff)
downloadmediawikicore-aab43dd49523476f3ec28c695e43006446a7be7a.tar.gz
mediawikicore-aab43dd49523476f3ec28c695e43006446a7be7a.zip
escape tags and entity in doxygen comments
When inserting XML elements inline <such as this one>, doxygen chokes about it not being known. Simply enclosing the tag in double quotes prevents doxygen from emitting a warning. Also enclosed a few invalid functions calls such as \. and double quoted the HTML entities such as &foobar; Change-Id: I4019637145e683c2bec3d17b2fd98b0c50a932f1
Diffstat (limited to 'includes/json')
-rw-r--r--includes/json/FormatJson.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/json/FormatJson.php b/includes/json/FormatJson.php
index cae3f12a5e77..d3cc55011af7 100644
--- a/includes/json/FormatJson.php
+++ b/includes/json/FormatJson.php
@@ -60,7 +60,7 @@ class FormatJson {
*
* @return Mixed: the value encoded in json in appropriate PHP type.
* Values true, false and null (case-insensitive) are returned as true, false
- * and &null; respectively. &null; is returned if the json cannot be
+ * and "&null;" respectively. "&null;" is returned if the json cannot be
* decoded or if the encoded data is deeper than the recursion limit.
*/
public static function decode( $value, $assoc = false ) {