From 8040fa49ec8a0461c34b508c1128ca63cbc243c8 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 31 Oct 2016 18:29:32 +0100 Subject: [PATCH] remove Exception type, to not get a Type error when PHP 7+ throws an Error --- api/src/CalDAV.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/CalDAV.php b/api/src/CalDAV.php index 57490a145d..0a40c0809e 100644 --- a/api/src/CalDAV.php +++ b/api/src/CalDAV.php @@ -2218,9 +2218,9 @@ class CalDAV extends HTTP_WebDAV_Server * * Does NOT return and get installed in constructor. * - * @param \Exception $e + * @param \Exception|\Error $e */ - public static function exception_handler(\Exception $e) + public static function exception_handler($e) { // logging exception as regular egw_execption_hander does $headline = null;