Skip to content

Commit 20f9b75

Browse files
committed
[SecurityBundle] Fix syntax error in test
1 parent c963178 commit 20f9b75

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Compiler/AddSessionDomainConstraintPassTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ private function createContainer($sessionStorageOptions)
124124
$ext = new SecurityExtension();
125125
$ext->load($config, $container);
126126

127-
(new AddSessionDomainConstraintPass())->process($container);
127+
$pass = new AddSessionDomainConstraintPass();
128+
$pass->process($container);
128129

129130
return $container;
130131
}

0 commit comments

Comments
 (0)