diff options
Diffstat (limited to 'app/Log.php')
| -rw-r--r-- | app/Log.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Log.php b/app/Log.php index 635b745949..74f3b94471 100644 --- a/app/Log.php +++ b/app/Log.php @@ -55,7 +55,7 @@ class Log * * @return void */ - private static function addLog(string $message, string $log_type, Tree $tree = null): void + private static function addLog(string $message, string $log_type, Tree|null $tree = null): void { if (Registry::container()->has(ServerRequestInterface::class)) { $request = Registry::container()->get(ServerRequestInterface::class); @@ -81,7 +81,7 @@ class Log * * @return void */ - public static function addConfigurationLog(string $message, Tree $tree = null): void + public static function addConfigurationLog(string $message, Tree|null $tree = null): void { self::addLog($message, self::TYPE_CONFIGURATION, $tree); } |
