From 42a6ae4069837f45bc5d122eea606e8a1d189ac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6khan=20Demir?= Date: Mon, 11 Mar 2019 09:08:44 +0300 Subject: [PATCH] PHP7 - Uncaught TypeError - ApplicationDebug.php https://github.com/kohana/core/issues/642 --- lib/ApplicationDebug.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ApplicationDebug.php b/lib/ApplicationDebug.php index 8e41f7a..6fadb26 100644 --- a/lib/ApplicationDebug.php +++ b/lib/ApplicationDebug.php @@ -15,7 +15,7 @@ public static function init($debug) { ApplicationDebug::exception(new Exception("EXCEPTION!")); */ - public static function exception(Exception $exception) { + public static function exception($exception) { $file = $exception->getFile(); $line = $exception->getLine(); @@ -151,4 +151,4 @@ private static function _layout($header, $numbers, $rows, $footer, $line) { } } -?> \ No newline at end of file +?>