diff options
Diffstat (limited to 'core/Command/Log')
-rw-r--r-- | core/Command/Log/File.php | 7 | ||||
-rw-r--r-- | core/Command/Log/Manage.php | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/core/Command/Log/File.php b/core/Command/Log/File.php index 6d6e530fe9a..978115d5aeb 100644 --- a/core/Command/Log/File.php +++ b/core/Command/Log/File.php @@ -36,10 +36,9 @@ use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class File extends Command implements Completion\CompletionAwareInterface { - protected IConfig $config; - - public function __construct(IConfig $config) { - $this->config = $config; + public function __construct( + protected IConfig $config, + ) { parent::__construct(); } diff --git a/core/Command/Log/Manage.php b/core/Command/Log/Manage.php index 63a8efde370..7c25fdf8a6b 100644 --- a/core/Command/Log/Manage.php +++ b/core/Command/Log/Manage.php @@ -39,10 +39,9 @@ class Manage extends Command implements CompletionAwareInterface { public const DEFAULT_LOG_LEVEL = 2; public const DEFAULT_TIMEZONE = 'UTC'; - protected IConfig $config; - - public function __construct(IConfig $config) { - $this->config = $config; + public function __construct( + protected IConfig $config, + ) { parent::__construct(); } |