From b70c6a128fe5d0053b7971881696eafce4cb7c26 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Tue, 12 Apr 2022 17:55:01 +0200 Subject: Update core to PHP 7.4 standard - Typed properties - Port to LoggerInterface Signed-off-by: Carl Schwan --- core/Command/Log/File.php | 4 +--- core/Command/Log/Manage.php | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'core/Command/Log') diff --git a/core/Command/Log/File.php b/core/Command/Log/File.php index cd22b8917c4..f2c77e20174 100644 --- a/core/Command/Log/File.php +++ b/core/Command/Log/File.php @@ -36,9 +36,7 @@ use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class File extends Command implements Completion\CompletionAwareInterface { - - /** @var IConfig */ - protected $config; + protected IConfig $config; public function __construct(IConfig $config) { $this->config = $config; diff --git a/core/Command/Log/Manage.php b/core/Command/Log/Manage.php index 4c7e7dd8497..34ec5ea54a8 100644 --- a/core/Command/Log/Manage.php +++ b/core/Command/Log/Manage.php @@ -39,8 +39,7 @@ class Manage extends Command implements CompletionAwareInterface { public const DEFAULT_LOG_LEVEL = 2; public const DEFAULT_TIMEZONE = 'UTC'; - /** @var IConfig */ - protected $config; + protected IConfig $config; public function __construct(IConfig $config) { $this->config = $config; -- cgit v1.2.3