Skip to content

Commit f206ee7

Browse files
authored
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.
1 parent 248138d commit f206ee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ to remove the ``kernel.reset`` tag from some services in your test environment::
651651

652652
// ...
653653

654-
protected function process(ContainerBuilder $container): void
654+
public function process(ContainerBuilder $container): void
655655
{
656656
if ('test' === $this->environment) {
657657
// prevents the security token to be cleared

0 commit comments

Comments
 (0)