File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/Symfony/Bridge/Doctrine Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -54,17 +54,13 @@ protected function resetService($name)
54
54
}
55
55
$ manager ->setProxyInitializer (\Closure::bind (
56
56
function (&$ wrappedInstance , LazyLoadingInterface $ manager ) use ($ name ) {
57
- if (isset ($ this ->normalizedIds [$ normalizedId = strtolower ($ name )])) { // BC with DI v3.4
58
- $ name = $ this ->normalizedIds [$ normalizedId ];
59
- }
60
57
if (isset ($ this ->aliases [$ name ])) {
61
58
$ name = $ this ->aliases [$ name ];
62
59
}
63
60
if (isset ($ this ->fileMap [$ name ])) {
64
61
$ wrappedInstance = $ this ->load ($ this ->fileMap [$ name ]);
65
62
} else {
66
- $ method = $ this ->methodMap [$ name ] ?? 'get ' .strtr ($ name , $ this ->underscoreMap ).'Service ' ; // BC with DI v3.4
67
- $ wrappedInstance = $ this ->{$ method }(false );
63
+ $ wrappedInstance = $ this ->{$ this ->methodMap [$ name ]}(false );
68
64
}
69
65
70
66
$ manager ->setProxyInitializer (null );
You can’t perform that action at this time.
0 commit comments