From 29a3c5a08e49093f6bc9f6af0c778a968ef84c3e 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 cb162b6ea4..dae015c3c4 100644 --- a/api/src/CalDAV.php +++ b/api/src/CalDAV.php @@ -2216,9 +2216,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;