aboutsummaryrefslogtreecommitdiffstats
path: root/includes/json
diff options
context:
space:
mode:
authorSam Wilson <sam@samwilson.id.au>2016-10-31 12:38:12 +0800
committerUmherirrender <umherirrender_de.wp@web.de>2016-10-31 13:57:39 +0000
commit66e215baee366f08fb106823020b74e529cff877 (patch)
tree27cb115fb8679925e442baaa18f842e9eb13244a /includes/json
parentb68f99ccc61412827377b56d6dcc556e4b2a3ca4 (diff)
downloadmediawikicore-66e215baee366f08fb106823020b74e529cff877.tar.gz
mediawikicore-66e215baee366f08fb106823020b74e529cff877.zip
Remove spaces after cast operators
This fixes the outstanding mis-spaced cast operators to bring them into line with the coding standards on mediawiki.org (and with the more common usage within this codebase). Bug: T149545 Change-Id: Ib7bcf95bbee83d20c05f6d621ce7b4e1fb58a347
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 775ab43c9810..41541ef4d60a 100644
--- a/includes/json/FormatJson.php
+++ b/includes/json/FormatJson.php
@@ -271,7 +271,7 @@ class FormatJson {
*/
public static function stripComments( $json ) {
// Ensure we have a string
- $str = (string) $json;
+ $str = (string)$json;
$buffer = '';
$maxLen = strlen( $str );
$mark = 0;