-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip: revert type change from iterable to array
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ | |
* @phpstan-type DependencyArray array{ | ||
* feature: string, | ||
* enabled: bool, | ||
* variants?: array<string>, | ||
* variants?: iterable<string>, | ||
* } | ||
*/ | ||
final readonly class DefaultUnleashRepository implements UnleashRepository | ||
|
@@ -90,7 +90,7 @@ public function findFeature(string $featureName): ?Feature | |
* @throws ClientExceptionInterface | ||
* @throws JsonException | ||
* | ||
* @return array<Feature> | ||
* @return iterable<Feature> | ||
*/ | ||
public function getFeatures(): array | ||
Check failure on line 95 in src/Repository/DefaultUnleashRepository.php GitHub Actions / Static analysis (8.2)
Check failure on line 95 in src/Repository/DefaultUnleashRepository.php GitHub Actions / Static analysis (8.2)
|
||
{ | ||
|