Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit 341c299

Browse files
committed
fix : fixed found phpstan errors
1 parent 39f3795 commit 341c299

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

LegacyTagsManager.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ private function getVersions(array $versions, $symfonyConstraint): array
228228
}
229229
}
230230

231-
if (! $vers || $versions['splits'][$name] === $vers) {
231+
if ($versions['splits'][$name] === $vers || \count($vers) === 0) {
232232
unset($versions['splits'][$name]);
233233
}
234234
}

Plugin.php

-8
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,6 @@ final class Plugin implements EventSubscriberInterface, PluginInterface
5656
/** @var string */
5757
public const PACKAGE_NAME = 'narrowspark/automatic-composer-prefetcher';
5858

59-
public $providerRepos;
60-
61-
public $repositoryClasses;
62-
63-
public $repositories;
64-
65-
public $config;
66-
6759
/**
6860
* A Container instance.
6961
*

0 commit comments

Comments
 (0)