mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 08:35:20 +00:00
Deal with a whole lot of PHPStan suppressed key casting errors
closes #6534
This commit is contained in:
@ -47,7 +47,7 @@ final class CloningRegistryTraitTest extends TestCase{
|
||||
public function testGetAllClone() : void{
|
||||
$list1 = TestCloningRegistry::getAll();
|
||||
$list2 = TestCloningRegistry::getAll();
|
||||
foreach($list1 as $k => $member){
|
||||
foreach(Utils::promoteKeys($list1) as $k => $member){
|
||||
self::assertNotSame($member, $list2[$k], "VanillaBlocks ought to clone its members");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user