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 @@ -1770,13 +1770,13 @@ parameters:
1770
1770
-
1771
1771
rawMessage : ' Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead.'
1772
1772
identifier : phpstanApi.instanceofType
1773
- count : 2
1773
+ count : 1
1774
1774
path : src/Type/TypeUtils.php
1775
1775
1776
1776
-
1777
1777
rawMessage : Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
1778
1778
identifier : phpstanApi.instanceofType
1779
- count : 3
1779
+ count : 4
1780
1780
path : src/Type/TypeUtils.php
1781
1781
1782
1782
-
Original file line number Diff line number Diff line change 2
2
3
3
namespace PHPStan \Internal ;
4
4
5
+ use Traversable ;
5
6
use function array_shift ;
6
7
7
8
final class CombinationsHelper
8
9
{
9
10
10
11
/**
11
12
* @param array<iterable<mixed>> $arrays
12
- * @return iterable <list<mixed>>
13
+ * @return Traversable <list<mixed>>
13
14
*/
14
15
public static function combinations (array $ arrays ): iterable
15
16
{
Original file line number Diff line number Diff line change 10
10
use PHPStan \Type \Generic \TemplateBenevolentUnionType ;
11
11
use PHPStan \Type \Generic \TemplateType ;
12
12
use PHPStan \Type \Generic \TemplateUnionType ;
13
+ use function array_filter ;
14
+ use function array_map ;
13
15
use function array_merge ;
16
+ use function iterator_to_array ;
14
17
15
18
/**
16
19
* @api
You can’t perform that action at this time.
0 commit comments