diff options
Diffstat (limited to 'vendor/smarty/smarty/libs/sysplugins/smarty_internal_errorhandler.php')
-rw-r--r-- | vendor/smarty/smarty/libs/sysplugins/smarty_internal_errorhandler.php | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/vendor/smarty/smarty/libs/sysplugins/smarty_internal_errorhandler.php b/vendor/smarty/smarty/libs/sysplugins/smarty_internal_errorhandler.php index 831421833..0ba00659d 100644 --- a/vendor/smarty/smarty/libs/sysplugins/smarty_internal_errorhandler.php +++ b/vendor/smarty/smarty/libs/sysplugins/smarty_internal_errorhandler.php @@ -3,7 +3,6 @@ /** * Smarty error handler * - * * @package Smarty * @subpackage PluginsInternal * @author Uwe Tews @@ -17,6 +16,7 @@ class Smarty_Internal_ErrorHandler * contains directories outside of SMARTY_DIR that are to be muted by muteExpectedErrors() */ public static $mutedDirectories = array(); + /** * error handler returned by set_error_handler() in self::muteExpectedErrors() */ @@ -25,7 +25,6 @@ class Smarty_Internal_ErrorHandler /** * Enable error handler to mute expected messages * - * @return boolean */ public static function muteExpectedErrors() { @@ -58,11 +57,11 @@ class Smarty_Internal_ErrorHandler * * @link http://php.net/set_error_handler * - * @param integer $errno Error level - * @param $errstr - * @param $errfile - * @param $errline - * @param $errcontext + * @param integer $errno Error level + * @param $errstr + * @param $errfile + * @param $errline + * @param $errcontext * * @return bool */ @@ -98,15 +97,17 @@ class Smarty_Internal_ErrorHandler // or the error was within smarty but masked to be ignored if (!$_is_muted_directory || ($errno && $errno & error_reporting())) { if (self::$previousErrorHandler) { - return call_user_func(self::$previousErrorHandler, - $errno, - $errstr, - $errfile, - $errline, - $errcontext); + return call_user_func( + self::$previousErrorHandler, + $errno, + $errstr, + $errfile, + $errline, + $errcontext + ); } else { return false; } } } -}
\ No newline at end of file +} |