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 @@ -1758,13 +1758,13 @@ parameters:
1758
1758
-
1759
1759
rawMessage : ' Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead.'
1760
1760
identifier : phpstanApi.instanceofType
1761
- count : 2
1761
+ count : 1
1762
1762
path : src/Type/TypeUtils.php
1763
1763
1764
1764
-
1765
1765
rawMessage : Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
1766
1766
identifier : phpstanApi.instanceofType
1767
- count : 3
1767
+ count : 4
1768
1768
path : src/Type/TypeUtils.php
1769
1769
1770
1770
-
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