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 juliushaertl committed Dec 11, 2023
1 parent c589051 commit 0eeea83
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 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 @@ -51,7 +48,8 @@ public function __construct(Factory $appDataFactory,
IConfig $config,
CompareVersion $compareVersion,
LoggerInterface $logger,
IRegistry $registry) {
protected IRegistry $registry,
) {
parent::__construct(
$appDataFactory,
$clientService,
Expand All @@ -61,8 +59,6 @@ public function __construct(Factory $appDataFactory,
$registry
);

$this->registry = $registry;

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

0 comments on commit 0eeea83

Please sign in to comment.