Skip to content

Commit 66d2e25

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: fixed CS SCA with Php Inspections (EA Extended): 2.7 Remove deprecated each function Fixed PHPdoc return references in FormBuilderInterface [FrameworkBundle] Fix perf issue in CacheClearCommand::warmup()
2 parents b4a4b8f + 19ab89e commit 66d2e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/ContainerBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function testGet()
120120
$this->assertEquals('Circular reference detected for service "baz", path: "baz".', $e->getMessage(), '->get() throws a LogicException if the service has a circular reference to itself');
121121
}
122122

123-
$this->assertTrue($builder->get('bar') === $builder->get('bar'), '->get() always returns the same instance if the service is shared');
123+
$this->assertSame($builder->get('bar'), $builder->get('bar'), '->get() always returns the same instance if the service is shared');
124124
}
125125

126126
public function testNonSharedServicesReturnsDifferentInstances()

0 commit comments

Comments
 (0)