@@ -1150,7 +1150,7 @@ public function testAddObjectResource()
1150
1150
$ container ->setResourceTracking (false );
1151
1151
$ container ->addObjectResource (new \BarClass ());
1152
1152
1153
- $ this ->assertEmpty ( $ container ->getResources (), 'No resources get registered without resource tracking ' );
1153
+ $ this ->assertSame ([], $ container ->getResources (), 'No resources get registered without resource tracking ' );
1154
1154
1155
1155
$ container ->setResourceTracking (true );
1156
1156
$ container ->addObjectResource (new \BarClass ());
@@ -1173,7 +1173,7 @@ public function testGetReflectionClass()
1173
1173
$ container ->setResourceTracking (false );
1174
1174
$ r1 = $ container ->getReflectionClass ('BarClass ' );
1175
1175
1176
- $ this ->assertEmpty ( $ container ->getResources (), 'No resources get registered without resource tracking ' );
1176
+ $ this ->assertSame ([], $ container ->getResources (), 'No resources get registered without resource tracking ' );
1177
1177
1178
1178
$ container ->setResourceTracking (true );
1179
1179
$ r2 = $ container ->getReflectionClass ('BarClass ' );
@@ -1213,7 +1213,7 @@ public function testCompilesClassDefinitionsOfLazyServices()
1213
1213
{
1214
1214
$ container = new ContainerBuilder ();
1215
1215
1216
- $ this ->assertEmpty ( $ container ->getResources (), 'No resources get registered without resource tracking ' );
1216
+ $ this ->assertSame ([], $ container ->getResources (), 'No resources get registered without resource tracking ' );
1217
1217
1218
1218
$ container ->register ('foo ' , 'BarClass ' )->setPublic (true );
1219
1219
$ container ->getDefinition ('foo ' )->setLazy (true );
@@ -1372,7 +1372,7 @@ public function testExtensionConfig()
1372
1372
$ container = new ContainerBuilder ();
1373
1373
1374
1374
$ configs = $ container ->getExtensionConfig ('foo ' );
1375
- $ this ->assertEmpty ( $ configs );
1375
+ $ this ->assertSame ([], $ configs );
1376
1376
1377
1377
$ first = ['foo ' => 'bar ' ];
1378
1378
$ container ->prependExtensionConfig ('foo ' , $ first );
0 commit comments