File tree 2 files changed +1
-5
lines changed
Bundle/FrameworkBundle/Kernel
Component/DependencyInjection/Dumper
2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -142,10 +142,6 @@ public function registerContainerConfiguration(LoaderInterface $loader)
142
142
}
143
143
144
144
$ container ->setAlias (static ::class, 'kernel ' )->setPublic (true );
145
-
146
- if (!$ container ->hasParameter ('container.dumper.inline_factories ' )) {
147
- $ container ->setParameter ('container.dumper.inline_factories ' , false );
148
- }
149
145
});
150
146
}
151
147
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ public function dump(array $options = [])
157
157
$ this ->asFiles = $ options ['as_files ' ];
158
158
$ this ->hotPathTag = $ options ['hot_path_tag ' ];
159
159
$ this ->preloadTags = $ options ['preload_tags ' ];
160
- $ this ->inlineFactories = $ this ->asFiles && $ options ['inline_factories_parameter ' ] && (! $ this ->container ->hasParameter ($ options ['inline_factories_parameter ' ]) || $ this ->container ->getParameter ($ options ['inline_factories_parameter ' ]) );
160
+ $ this ->inlineFactories = $ this ->asFiles && $ options ['inline_factories_parameter ' ] && $ this ->container ->hasParameter ($ options ['inline_factories_parameter ' ]) && $ this ->container ->getParameter ($ options ['inline_factories_parameter ' ]);
161
161
$ this ->inlineRequires = $ options ['inline_class_loader_parameter ' ] && ($ this ->container ->hasParameter ($ options ['inline_class_loader_parameter ' ]) ? $ this ->container ->getParameter ($ options ['inline_class_loader_parameter ' ]) : (\PHP_VERSION_ID < 70400 || $ options ['debug ' ]));
162
162
$ this ->serviceLocatorTag = $ options ['service_locator_tag ' ];
163
163
You can’t perform that action at this time.
0 commit comments