From b6ef67edfc2cb6b69340d96b15a342dfa8b5bd2c Mon Sep 17 00:00:00 2001 From: Hamid Dehnavi Date: Tue, 18 Jul 2023 12:05:20 +0330 Subject: [PATCH] Make adjustments based on the psalm review MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Hamid Dehnavi Co-authored-by: Julius Härtl Signed-off-by: Hamid Dehnavi --- lib/private/App/AppStore/Fetcher/AppFetcher.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/private/App/AppStore/Fetcher/AppFetcher.php b/lib/private/App/AppStore/Fetcher/AppFetcher.php index 7f98617d822..b899954a175 100644 --- a/lib/private/App/AppStore/Fetcher/AppFetcher.php +++ b/lib/private/App/AppStore/Fetcher/AppFetcher.php @@ -39,9 +39,6 @@ use OCP\Support\Subscription\IRegistry; use Psr\Log\LoggerInterface; class AppFetcher extends Fetcher { - /** @var IRegistry */ - protected IRegistry $registry; - /** @var bool */ private $ignoreMaxVersion; @@ -51,7 +48,8 @@ class AppFetcher extends Fetcher { IConfig $config, CompareVersion $compareVersion, LoggerInterface $logger, - IRegistry $registry) { + protected IRegistry $registry, + ) { parent::__construct( $appDataFactory, $clientService, @@ -61,8 +59,6 @@ class AppFetcher extends Fetcher { $registry ); - $this->registry = $registry; - $this->fileName = 'apps.json'; $this->endpointName = 'apps.json'; $this->ignoreMaxVersion = true; -- 2.39.5