From cf266e1f96600745ae2f6df0f9b0ee72dfe55be2 Mon Sep 17 00:00:00 2001 From: Matthew Baggett Date: Fri, 22 Jan 2021 07:22:56 +0100 Subject: [PATCH] Optional-first arguments is deprecated in php8.0 --- src/App.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.php b/src/App.php index 2539c40..a811341 100644 --- a/src/App.php +++ b/src/App.php @@ -456,7 +456,7 @@ class App return $this; } - public static function Log(int $level = Logger::DEBUG, $message) + public static function Log($message, int $level = Logger::DEBUG) { return self::Instance() ->getLogger()