Skip to content

Commit 19ab89e

Browse files
committed
minor #22931 SCA with Php Inspections (EA Extended): 2.7 (kalessil)
This PR was squashed before being merged into the 2.7 branch (closes #22931). Discussion ---------- SCA with Php Inspections (EA Extended): 2.7 | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Static Code Analysis with Php Inspections (EA Extended): dead code and control flow tweaks. Commits ------- 598ae56cc9 SCA with Php Inspections (EA Extended): 2.7
2 parents 81624c5 + c646561 commit 19ab89e

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
@@ -108,7 +108,7 @@ public function testGet()
108108
}
109109

110110
$builder->register('foobar', 'stdClass')->setScope('container');
111-
$this->assertTrue($builder->get('bar') === $builder->get('bar'), '->get() always returns the same instance if the service is shared');
111+
$this->assertSame($builder->get('bar'), $builder->get('bar'), '->get() always returns the same instance if the service is shared');
112112
}
113113

114114
/**

0 commit comments

Comments
 (0)