mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Make adjustments based on the psalm review
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>
This commit is contained in:
parent
7a8d79b85c
commit
b6ef67edfc
1 changed files with 2 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue