aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/Check.php
diff options
context:
space:
mode:
authorFaraz Samapoor <fsa@adlas.at>2023-06-12 19:20:14 +0330
committerLouis <6653109+artonge@users.noreply.github.com>2023-06-24 23:14:23 +0200
commitc01129947e9fecd26f10ef588cc0940ff187dc83 (patch)
tree966f843798a3b4a594ef60ba82e227331e54b518 /core/Command/Check.php
parent10d563a873b4c2d6d423f79140985335e2eb57a7 (diff)
downloadnextcloud-server-c01129947e9fecd26f10ef588cc0940ff187dc83.tar.gz
nextcloud-server-c01129947e9fecd26f10ef588cc0940ff187dc83.zip
Uses PHP8's constructor property promotion.
in core/Command and /TwoFactorAuth classes. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Diffstat (limited to 'core/Command/Check.php')
-rw-r--r--core/Command/Check.php5
1 files changed, 1 insertions, 4 deletions
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() {