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:
762762 tags :
763763 - phpstan.broker.dynamicFunctionReturnTypeExtension
764764
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+
765775 -
766776 class : PHPStan\Type\ClosureTypeFactory
767777 arguments :
Original file line number Diff line number Diff line change 44
55use PhpParser \Node \Expr \FuncCall ;
66use PHPStan \Analyser \Scope ;
7- use PHPStan \DependencyInjection \AutowiredService ;
87use PHPStan \Reflection \FunctionReflection ;
98use PHPStan \Type \ClassStringType ;
109use PHPStan \Type \Constant \ConstantStringType ;
1312use function count ;
1413use function ltrim ;
1514
16- #[AutowiredService]
1715final class LtrimFunctionReturnTypeExtension implements DynamicFunctionReturnTypeExtension
1816{
1917
Original file line number Diff line number Diff line change 44
55use PhpParser \Node \Expr \FuncCall ;
66use PHPStan \Analyser \Scope ;
7- use PHPStan \DependencyInjection \AutowiredService ;
87use PHPStan \Reflection \FunctionReflection ;
98use PHPStan \Type \Accessory \AccessoryLowercaseStringType ;
109use PHPStan \Type \Accessory \AccessoryUppercaseStringType ;
1514use function count ;
1615use function in_array ;
1716
18- #[AutowiredService]
1917final class TrimFunctionDynamicReturnTypeExtension implements DynamicFunctionReturnTypeExtension
2018{
2119
You can’t perform that action at this time.
0 commit comments