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 <[email protected]>
Co-authored-by: Julius Härtl <[email protected]>
Signed-off-by: Hamid Dehnavi <[email protected]>
  • Loading branch information
shdehnavi and juliusknorr committed Jul 18, 2023
1 parent 080906c commit 15b7c09
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 15b7c09

Please sign in to comment.