Fix phpcs errors and warnings in includes/json
authorKunal Mehta <legoktm@gmail.com>
Sun, 15 Mar 2015 02:11:19 +0000 (19:11 -0700)
committerKrinkle <krinklemail@gmail.com>
Sun, 15 Mar 2015 02:35:26 +0000 (02:35 +0000)
Change-Id: Id5ae1cabe87f73f7458a744834ebb6a1a7c3dbf8

includes/json/FormatJson.php

index 74775b5..f27194a 100644 (file)
@@ -137,8 +137,9 @@ class FormatJson {
        }
 
        /**
-        * Decodes a JSON string. It is recommended to use FormatJson::parse(), which returns more comprehensive
-        * result in case of an error, and has more parsing options.
+        * Decodes a JSON string. It is recommended to use FormatJson::parse(),
+        * which returns more comprehensive result in case of an error, and has
+        * more parsing options.
         *
         * @param string $value The JSON string being decoded
         * @param bool $assoc When true, returned objects will be converted into associative arrays.
@@ -154,7 +155,8 @@ class FormatJson {
 
        /**
         * Decodes a JSON string.
-        * Unlike FormatJson::decode(), if $value represents null value, it will be properly decoded as valid.
+        * Unlike FormatJson::decode(), if $value represents null value, it will be
+        * properly decoded as valid.
         *
         * @param string $value The JSON string being decoded
         * @param int $options A bit field that allows FORCE_ASSOC, TRY_FIXING,