mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Remove deprecated API usages from tests
This commit is contained in:
@ -34,9 +34,9 @@ class BrewingStandTest extends TestCase{
|
||||
* @phpstan-return \Generator<int, array{list<BrewingStandSlot>}, void, void>
|
||||
*/
|
||||
public static function slotsProvider() : \Generator{
|
||||
yield [array_values(BrewingStandSlot::getAll())];
|
||||
yield [[BrewingStandSlot::EAST()]];
|
||||
yield [[BrewingStandSlot::EAST(), BrewingStandSlot::NORTHWEST()]];
|
||||
yield [BrewingStandSlot::cases()];
|
||||
yield [[BrewingStandSlot::EAST]];
|
||||
yield [[BrewingStandSlot::EAST, BrewingStandSlot::NORTHWEST]];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user