diff options
author | Faraz Samapoor <fsa@adlas.at> | 2023-06-12 18:16:44 +0330 |
---|---|---|
committer | Louis <6653109+artonge@users.noreply.github.com> | 2023-06-19 12:55:22 +0200 |
commit | ec632641537ce1f55949a584582bb94c9f309940 (patch) | |
tree | d3e67f0ee44c5fd831037b66fb2530ccc4fa112a /core/Command/Maintenance/UpdateTheme.php | |
parent | ceee417d2c48153d25460405c55594f8fdbb6b80 (diff) | |
download | nextcloud-server-ec632641537ce1f55949a584582bb94c9f309940.tar.gz nextcloud-server-ec632641537ce1f55949a584582bb94c9f309940.zip |
Uses PHP8's constructor property promotion in core/Command/Maintenance classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Diffstat (limited to 'core/Command/Maintenance/UpdateTheme.php')
-rw-r--r-- | core/Command/Maintenance/UpdateTheme.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/core/Command/Maintenance/UpdateTheme.php b/core/Command/Maintenance/UpdateTheme.php index e469b218b3f..859aaa12d4f 100644 --- a/core/Command/Maintenance/UpdateTheme.php +++ b/core/Command/Maintenance/UpdateTheme.php @@ -33,15 +33,11 @@ use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class UpdateTheme extends UpdateJS { - protected IMimeTypeDetector $mimetypeDetector; - protected ICacheFactory $cacheFactory; - public function __construct( IMimeTypeDetector $mimetypeDetector, - ICacheFactory $cacheFactory + protected ICacheFactory $cacheFactory, ) { parent::__construct($mimetypeDetector); - $this->cacheFactory = $cacheFactory; } protected function configure() { |