File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -762,6 +762,16 @@ services:
762
762
tags :
763
763
- phpstan.broker.dynamicFunctionReturnTypeExtension
764
764
765
+ -
766
+ class : PHPStan\Type\Php\LtrimFunctionReturnTypeExtension
767
+ tags :
768
+ - phpstan.broker.dynamicFunctionReturnTypeExtension
769
+
770
+ -
771
+ class : PHPStan\Type\Php\TrimFunctionDynamicReturnTypeExtension
772
+ tags :
773
+ - phpstan.broker.dynamicFunctionReturnTypeExtension
774
+
765
775
-
766
776
class : PHPStan\Type\ClosureTypeFactory
767
777
arguments :
Original file line number Diff line number Diff line change 4
4
5
5
use PhpParser \Node \Expr \FuncCall ;
6
6
use PHPStan \Analyser \Scope ;
7
- use PHPStan \DependencyInjection \AutowiredService ;
8
7
use PHPStan \Reflection \FunctionReflection ;
9
8
use PHPStan \Type \ClassStringType ;
10
9
use PHPStan \Type \Constant \ConstantStringType ;
13
12
use function count ;
14
13
use function ltrim ;
15
14
16
- #[AutowiredService]
17
15
final class LtrimFunctionReturnTypeExtension implements DynamicFunctionReturnTypeExtension
18
16
{
19
17
Original file line number Diff line number Diff line change 4
4
5
5
use PhpParser \Node \Expr \FuncCall ;
6
6
use PHPStan \Analyser \Scope ;
7
- use PHPStan \DependencyInjection \AutowiredService ;
8
7
use PHPStan \Reflection \FunctionReflection ;
9
8
use PHPStan \Type \Accessory \AccessoryLowercaseStringType ;
10
9
use PHPStan \Type \Accessory \AccessoryUppercaseStringType ;
15
14
use function count ;
16
15
use function in_array ;
17
16
18
- #[AutowiredService]
19
17
final class TrimFunctionDynamicReturnTypeExtension implements DynamicFunctionReturnTypeExtension
20
18
{
21
19
You can’t perform that action at this time.
0 commit comments