Skip to content

Commit

Permalink
PHP7 - Uncaught TypeError - ApplicationDebug.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Gökhan Demir authored Mar 11, 2019
1 parent d848c85 commit 42a6ae4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ApplicationDebug.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -151,4 +151,4 @@ private static function _layout($header, $numbers, $rows, $footer, $line) {
}

}
?>
?>

0 comments on commit 42a6ae4

Please sign in to comment.