summaryrefslogtreecommitdiffstats
path: root/system/core/Exceptions.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-03-26 13:30:10 +0200
committerAndrey Andreev <narf@bofh.bg>2012-03-26 13:30:10 +0200
commitc6a68e04169802c8aa82e41634ce350eafd1ec1e (patch)
treec8aba45aac54706c5bb4be8acc8c865a52d35991 /system/core/Exceptions.php
parent4cf4fa0b2f04253b266aec345108b57de0bf485e (diff)
Add visibility declarations where they remain missing
Diffstat (limited to 'system/core/Exceptions.php')
-rwxr-xr-xsystem/core/Exceptions.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/system/core/Exceptions.php b/system/core/Exceptions.php
index d7282b1f3..f36b31598 100755
--- a/system/core/Exceptions.php
+++ b/system/core/Exceptions.php
@@ -25,8 +25,6 @@
* @filesource
*/
-// ------------------------------------------------------------------------
-
/**
* Exceptions Class
*
@@ -163,7 +161,7 @@ class CI_Exceptions {
* @param string the error line number
* @return string
*/
- function show_php_error($severity, $message, $filepath, $line)
+ public function show_php_error($severity, $message, $filepath, $line)
{
$severity = ( ! isset($this->levels[$severity])) ? $severity : $this->levels[$severity];
$filepath = str_replace('\\', '/', $filepath);
@@ -189,4 +187,4 @@ class CI_Exceptions {
}
/* End of file Exceptions.php */
-/* Location: ./system/core/Exceptions.php */
+/* Location: ./system/core/Exceptions.php */ \ No newline at end of file