From c01129947e9fecd26f10ef588cc0940ff187dc83 Mon Sep 17 00:00:00 2001 From: Faraz Samapoor Date: Mon, 12 Jun 2023 19:20:14 +0330 Subject: Uses PHP8's constructor property promotion. in core/Command and /TwoFactorAuth classes. Signed-off-by: Faraz Samapoor --- core/Command/Check.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'core/Command/Check.php') diff --git a/core/Command/Check.php b/core/Command/Check.php index 18c45323f37..529cb541f6d 100644 --- a/core/Command/Check.php +++ b/core/Command/Check.php @@ -29,11 +29,8 @@ use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class Check extends Base { - private SystemConfig $config; - - public function __construct(SystemConfig $config) { + public function __construct(private SystemConfig $config) { parent::__construct(); - $this->config = $config; } protected function configure() { -- cgit v1.2.3