mirror of
https://github.com/symfony/symfony-docs.git
synced 2026-03-24 00:32:14 +01:00
minor : the process method from CompilerPassInterface should be public
Since the method is defined in CompilerPassInterface as public, it should be defined as public in the Kernel.
This commit is contained in:
committed by
GitHub
parent
248138d04e
commit
f206ee76de
@@ -651,7 +651,7 @@ to remove the ``kernel.reset`` tag from some services in your test environment::
|
||||
|
||||
// ...
|
||||
|
||||
protected function process(ContainerBuilder $container): void
|
||||
public function process(ContainerBuilder $container): void
|
||||
{
|
||||
if ('test' === $this->environment) {
|
||||
// prevents the security token to be cleared
|
||||
|
||||
Reference in New Issue
Block a user