Skip to content

Commit 9d1c245

Browse files
committed
One more named service
1 parent f396426 commit 9d1c245

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

conf/config.neon

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -780,9 +780,6 @@ services:
780780
class: PHPStan\Analyser\TypeSpecifier
781781
factory: @typeSpecifierFactory::create
782782

783-
typeSpecifierFactory:
784-
class: PHPStan\Analyser\TypeSpecifierFactory
785-
786783
relativePathHelper:
787784
class: PHPStan\File\RelativePathHelper
788785
factory: PHPStan\File\FuzzyRelativePathHelper

src/Analyser/TypeSpecifierFactory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
namespace PHPStan\Analyser;
44

55
use PHPStan\Broker\BrokerFactory;
6+
use PHPStan\DependencyInjection\AutowiredService;
67
use PHPStan\DependencyInjection\Container;
78
use PHPStan\Node\Printer\ExprPrinter;
89
use PHPStan\Php\PhpVersion;
910
use PHPStan\Reflection\ReflectionProvider;
1011
use function array_merge;
1112

13+
#[AutowiredService(name: 'typeSpecifierFactory')]
1214
final class TypeSpecifierFactory
1315
{
1416

0 commit comments

Comments
 (0)