From 7747f0a2eecd85285a7f2acd223df6f54b543e0e Mon Sep 17 00:00:00 2001 From: Andrew Podner Date: Tue, 18 Dec 2012 13:13:15 -0500 Subject: fixes #2078: formatting / styleguide cleanup --- system/core/Output.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'system/core') diff --git a/system/core/Output.php b/system/core/Output.php index e33f4b0b7..338c8b7e6 100644 --- a/system/core/Output.php +++ b/system/core/Output.php @@ -839,22 +839,22 @@ class CI_Output { $array_output = str_split($output); foreach ($array_output as $key => $value) { - if ($in_string === FALSE and $in_dstring === FALSE) + if ($in_string === FALSE && $in_dstring === FALSE) { - if ($value == ' ') + if ($value === ' ') { unset($array_output[$key]); } } - if ($value == "'") + if ($value === "'") { - $in_string = !$in_string; + $in_string = ! $in_string; } - if ($value == '"') + if ($value === '"') { - $in_dstring = !$in_dstring; + $in_dstring = ! $in_dstring; } } @@ -866,7 +866,7 @@ class CI_Output { // Put the opening and closing tags back if applicable if (isset($open_tag)) { - $output = $open_tag . $output . $closing_tag; + $output = $open_tag.$output.$closing_tag; } return $output; -- cgit v1.2.3-24-g4f1b