File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 8
8
use PhpParser \Node \Scalar \String_ ;
9
9
use PHPStan \Analyser \Scope ;
10
10
use PHPStan \Node \Expr \TypeExpr ;
11
- use PHPStan \Parser \ArrayMapArgVisitor ;
12
11
use PHPStan \Reflection \FunctionReflection ;
13
12
use PHPStan \Type \Accessory \AccessoryArrayListType ;
14
13
use PHPStan \Type \Accessory \NonEmptyArrayType ;
15
14
use PHPStan \Type \ArrayType ;
16
- use PHPStan \Type \ClosureType ;
17
15
use PHPStan \Type \Constant \ConstantArrayTypeBuilder ;
18
16
use PHPStan \Type \Constant \ConstantIntegerType ;
19
- use PHPStan \Type \Constant \ConstantStringType ;
20
17
use PHPStan \Type \DynamicFunctionReturnTypeExtension ;
21
18
use PHPStan \Type \IntegerType ;
22
19
use PHPStan \Type \MixedType ;
26
23
use PHPStan \Type \TypeUtils ;
27
24
use function array_slice ;
28
25
use function count ;
26
+ use function preg_match ;
29
27
30
28
final class ArrayMapFunctionReturnTypeExtension implements DynamicFunctionReturnTypeExtension
31
29
{
You can’t perform that action at this time.
0 commit comments