Skip to content

Commit 999b95f

Browse files
kalessilnicolas-grekas
authored andcommitted
[minor] SCA
1 parent 922bd54 commit 999b95f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Compiler/IntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function testProcessInlinesWhenThereAreMultipleReferencesButFromTheSameDe
123123
public function testYamlContainerCompiles($directory, $actualServiceId, $expectedServiceId, ContainerBuilder $mainContainer = null)
124124
{
125125
// allow a container to be passed in, which might have autoconfigure settings
126-
$container = $mainContainer ? $mainContainer : new ContainerBuilder();
126+
$container = $mainContainer ?: new ContainerBuilder();
127127
$container->setResourceTracking(false);
128128
$loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Fixtures/yaml/integration/'.$directory));
129129
$loader->load('main.yml');

0 commit comments

Comments
 (0)