Skip to content

Commit 0ab5b8d

Browse files
committed
Fix
1 parent 650df55 commit 0ab5b8d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Type/Php/ArrayMapFunctionReturnTypeExtension.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,12 @@
88
use PhpParser\Node\Scalar\String_;
99
use PHPStan\Analyser\Scope;
1010
use PHPStan\Node\Expr\TypeExpr;
11-
use PHPStan\Parser\ArrayMapArgVisitor;
1211
use PHPStan\Reflection\FunctionReflection;
1312
use PHPStan\Type\Accessory\AccessoryArrayListType;
1413
use PHPStan\Type\Accessory\NonEmptyArrayType;
1514
use PHPStan\Type\ArrayType;
16-
use PHPStan\Type\ClosureType;
1715
use PHPStan\Type\Constant\ConstantArrayTypeBuilder;
1816
use PHPStan\Type\Constant\ConstantIntegerType;
19-
use PHPStan\Type\Constant\ConstantStringType;
2017
use PHPStan\Type\DynamicFunctionReturnTypeExtension;
2118
use PHPStan\Type\IntegerType;
2219
use PHPStan\Type\MixedType;
@@ -26,6 +23,7 @@
2623
use PHPStan\Type\TypeUtils;
2724
use function array_slice;
2825
use function count;
26+
use function preg_match;
2927

3028
final class ArrayMapFunctionReturnTypeExtension implements DynamicFunctionReturnTypeExtension
3129
{

0 commit comments

Comments
 (0)