Skip to content

Commit

Permalink
Make adjustments based on the psalm review
Browse files Browse the repository at this point in the history
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
  • Loading branch information
shdehnavi and juliusknorr committed Aug 16, 2023
1 parent 41981cd commit 901f15a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/private/App/AppStore/Fetcher/AppFetcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@
use Psr\Log\LoggerInterface;

class AppFetcher extends Fetcher {
/** @var IRegistry */
protected IRegistry $registry;

/** @var bool */
private $ignoreMaxVersion;

Expand All @@ -52,7 +49,7 @@ public function __construct(
IConfig $config,
private CompareVersion $compareVersion,
LoggerInterface $logger,
IRegistry $registry,
protected IRegistry $registry,
) {
parent::__construct(
$appDataFactory,
Expand All @@ -63,8 +60,6 @@ public function __construct(
$registry
);

$this->registry = $registry;

$this->fileName = 'apps.json';
$this->endpointName = 'apps.json';
$this->ignoreMaxVersion = true;
Expand Down

0 comments on commit 901f15a

Please sign in to comment.