File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -1812,13 +1812,13 @@ parameters:
18121812 -
18131813 rawMessage : ' Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead.'
18141814 identifier : phpstanApi.instanceofType
1815- count : 2
1815+ count : 1
18161816 path : src/Type/TypeUtils.php
18171817
18181818 -
18191819 rawMessage : Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
18201820 identifier : phpstanApi.instanceofType
1821- count : 3
1821+ count : 4
18221822 path : src/Type/TypeUtils.php
18231823
18241824 -
Original file line number Diff line number Diff line change 22
33namespace PHPStan \Internal ;
44
5+ use Traversable ;
56use function array_shift ;
67
78final class CombinationsHelper
89{
910
1011 /**
1112 * @param array<iterable<mixed>> $arrays
12- * @return iterable <list<mixed>>
13+ * @return Traversable <list<mixed>>
1314 */
1415 public static function combinations (array $ arrays ): iterable
1516 {
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