Skip to content

Commit 9a10fa3

Browse files
committed
Autowire betterReflectionReflector when asked for PHPStan\BetterReflection\Reflector\Reflector
1 parent a3416eb commit 9a10fa3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

conf/services.neon

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ services:
256256
class: PHPStan\Reflection\BetterReflection\Reflector\MemoizingReflector
257257
arguments:
258258
reflector: @originalBetterReflectionReflector
259-
autowired: false
259+
autowired: PHPStan\BetterReflection\Reflector\Reflector
260260

261261
betterReflectionProvider:
262262
class: PHPStan\Reflection\BetterReflection\BetterReflectionProvider
@@ -269,3 +269,4 @@ services:
269269
class: PHPStan\BetterReflection\Reflector\DefaultReflector
270270
arguments:
271271
sourceLocator: @betterReflectionSourceLocator
272+
autowired: false

0 commit comments

Comments
 (0)