summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSvennd <svennson@gmail.com>2022-02-11 16:34:07 +0100
committerGitHub <noreply@github.com>2022-02-11 16:34:07 +0100
commitaffe39415ddded1174cf405e4f86d56850197493 (patch)
tree46debb3f6e7f96d564ed4ff322852adcca83f4aa
parent9d30b03e35d6ed04ac287118f8d62625e81f9923 (diff)
required spaces around cast
-rw-r--r--system/libraries/Profiler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Profiler.php b/system/libraries/Profiler.php
index 65eb3c3e3..cf178663e 100644
--- a/system/libraries/Profiler.php
+++ b/system/libraries/Profiler.php
@@ -496,7 +496,7 @@ class CI_Profiler {
}
$output .= '<tr><td style="padding:5px;vertical-align:top;color:#900;background-color:#ddd;">'
- .$config.'&nbsp;&nbsp;</td><td style="padding:5px;color:#000;background-color:#ddd;">'.$pre.htmlspecialchars((string)$val, ENT_QUOTES, config_item('charset')).$pre_close."</td></tr>\n";
+ .$config.'&nbsp;&nbsp;</td><td style="padding:5px;color:#000;background-color:#ddd;">'.$pre.htmlspecialchars( (string) $val, ENT_QUOTES, config_item('charset')).$pre_close."</td></tr>\n";
}
return $output."</table>\n</fieldset>";
@@ -534,7 +534,7 @@ class CI_Profiler {
}
$output .= '<tr><td style="padding:5px;vertical-align:top;color:#900;background-color:#ddd;">'
- .$key.'&nbsp;&nbsp;</td><td style="padding:5px;color:#000;background-color:#ddd;">'.$pre.htmlspecialchars((string)$val, ENT_QUOTES, config_item('charset')).$pre_close."</td></tr>\n";
+ .$key.'&nbsp;&nbsp;</td><td style="padding:5px;color:#000;background-color:#ddd;">'.$pre.htmlspecialchars( (string) $val, ENT_QUOTES, config_item('charset')).$pre_close."</td></tr>\n";
}
return $output."</table>\n</fieldset>";