(bug 43852) Fix converttitles param in api.php?action=query
[lhc/web/wiklou.git] / includes / json / Services_JSON.php
index b2090dc..2566072 100644 (file)
@@ -283,7 +283,7 @@ class Services_JSON
                return $this->encode2($var);
        }
 
-       /**
+       /**
         * encodes an arbitrary variable into JSON format
         *
         * @param $var Mixed: any number, boolean, string, array, or object to be encoded.
@@ -826,6 +826,7 @@ class Services_JSON
 
        /**
         * @todo Ultimately, this should just call PEAR::isError()
+        * @return bool
         */
        function isError($data, $code = null)
        {