File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/Symfony/Bundle/FrameworkBundle Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ public function build(ContainerBuilder $container)
168168 $ container ->addCompilerPass (new CachePoolClearerPass (), PassConfig::TYPE_AFTER_REMOVING );
169169 $ container ->addCompilerPass (new CachePoolPrunerPass (), PassConfig::TYPE_AFTER_REMOVING );
170170 $ this ->addCompilerPassIfExists ($ container , FormPass::class);
171- $ container -> addCompilerPass ( new WorkflowGuardListenerPass () );
171+ $ this -> addCompilerPassIfExists ( $ container , WorkflowGuardListenerPass::class );
172172 $ container ->addCompilerPass (new ResettableServicePass (), PassConfig::TYPE_BEFORE_OPTIMIZATION , -32 );
173173 $ container ->addCompilerPass (new RegisterLocaleAwareServicesPass ());
174174 $ container ->addCompilerPass (new TestServiceContainerWeakRefPass (), PassConfig::TYPE_BEFORE_REMOVING , -32 );
You can’t perform that action at this time.
0 commit comments