summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrew Podner <a.podner@me.com>2012-12-18 19:13:15 +0100
committerAndrew Podner <a.podner@me.com>2012-12-18 19:13:15 +0100
commit7747f0a2eecd85285a7f2acd223df6f54b543e0e (patch)
tree31a76dac22ca54470acda355a5ce936c256dd43a /system
parent79503c59f5c1b6dea906c62adde63e291347fac0 (diff)
fixes #2078: formatting / styleguide cleanup
Diffstat (limited to 'system')
-rw-r--r--system/core/Output.php14
1 files changed, 7 insertions, 7 deletions
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;