From 069af51dd039fe9790b420b0e74289309a4952c4 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Wed, 20 Apr 2016 17:49:58 +0200 Subject: With PHP7 Throwable is the new base interface for all Exception and Error - we should be capable to log Throwable as well --- lib/public/ilogger.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/public') diff --git a/lib/public/ilogger.php b/lib/public/ilogger.php index 6a4163875a9..fa947612fcd 100644 --- a/lib/public/ilogger.php +++ b/lib/public/ilogger.php @@ -135,10 +135,10 @@ interface ILogger { * ]); * * - * @param \Exception $exception + * @param \Exception | \Throwable $exception * @param array $context * @return void * @since 8.2.0 */ - public function logException(\Exception $exception, array $context = array()); + public function logException($exception, array $context = array()); } -- cgit v1.2.3