From c91fd8043b4484566caab5e88397db1b40293c48 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Sat, 14 Mar 2015 19:11:19 -0700 Subject: [PATCH] Fix phpcs errors and warnings in includes/json Change-Id: Id5ae1cabe87f73f7458a744834ebb6a1a7c3dbf8 --- includes/json/FormatJson.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/includes/json/FormatJson.php b/includes/json/FormatJson.php index 74775b5b9d..f27194a44b 100644 --- a/includes/json/FormatJson.php +++ b/includes/json/FormatJson.php @@ -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, -- 2.20.1