Skip to content

Commit 5ae6cc0

Browse files
committed
Update StrlenTypeSpecifyingExtension.php
1 parent dd4018e commit 5ae6cc0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Type/Php/StrlenTypeSpecifyingExtension.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use PHPStan\Analyser\TypeSpecifier;
99
use PHPStan\Analyser\TypeSpecifierAwareExtension;
1010
use PHPStan\Analyser\TypeSpecifierContext;
11+
use PHPStan\DependencyInjection\AutowiredService;
1112
use PHPStan\Reflection\FunctionReflection;
1213
use PHPStan\Type\Accessory\AccessoryNonEmptyStringType;
1314
use PHPStan\Type\Accessory\AccessoryNonFalsyStringType;
@@ -19,6 +20,7 @@
1920
use function in_array;
2021
use function strtolower;
2122

23+
#[AutowiredService]
2224
final class StrlenTypeSpecifyingExtension implements FunctionTypeSpecifyingExtension, TypeSpecifierAwareExtension
2325
{
2426

0 commit comments

Comments
 (0)