File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -1770,13 +1770,13 @@ parameters:
17701770 -
17711771 rawMessage : ' Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead.'
17721772 identifier : phpstanApi.instanceofType
1773- count : 2
1773+ count : 1
17741774 path : src/Type/TypeUtils.php
17751775
17761776 -
17771777 rawMessage : Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
17781778 identifier : phpstanApi.instanceofType
1779- count : 3
1779+ count : 4
17801780 path : src/Type/TypeUtils.php
17811781
17821782 -
Original file line number Diff line number Diff line change 22
33namespace PHPStan \Internal ;
44
5+ use Traversable ;
6+
57use function array_shift ;
68
79final class CombinationsHelper
810{
911
1012 /**
1113 * @param array<iterable<mixed>> $arrays
12- * @return iterable <list<mixed>>
14+ * @return Traversable <list<mixed>>
1315 */
1416 public static function combinations (array $ arrays ): iterable
1517 {
Original file line number Diff line number Diff line change 1010use PHPStan \Type \Generic \TemplateBenevolentUnionType ;
1111use PHPStan \Type \Generic \TemplateType ;
1212use PHPStan \Type \Generic \TemplateUnionType ;
13+ use function array_filter ;
14+ use function array_map ;
1315use function array_merge ;
16+ use function iterator_to_array ;
1417
1518/**
1619 * @api
You can’t perform that action at this time.
0 commit comments