File tree Expand file tree Collapse file tree
pkg/enqueue-bundle/DependencyInjection Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,14 +171,15 @@ private function registerJobQueueDoctrineEntityMapping(ContainerBuilder $contain
171171 return ;
172172 }
173173
174- $ config = $ this ->processConfiguration (
175- new Configuration (false ),
176- $ container ->getExtensionConfig ('enqueue ' )
177- );
174+ $ config = $ container ->getExtensionConfig ('enqueue ' );
178175
179- foreach ($ config as $ name => $ modules ) {
180- if (isset ($ modules ['job ' ]) && false === $ modules ['job ' ]['default_mapping ' ]) {
181- return ;
176+ if (!empty ($ config )) {
177+ $ processedConfig = $ this ->processConfiguration (new Configuration (false ), $ config );
178+
179+ foreach ($ processedConfig as $ name => $ modules ) {
180+ if (isset ($ modules ['job ' ]) && false === $ modules ['job ' ]['default_mapping ' ]) {
181+ return ;
182+ }
182183 }
183184 }
184185
You can’t perform that action at this time.
0 commit comments