mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Fixed incorrect array key type in BrewingStandTest
This commit is contained in:
parent
f3ca6de1eb
commit
c063198b89
@ -33,7 +33,7 @@ class BrewingStandTest extends TestCase{
|
||||
* @phpstan-return \Generator<int, array{list<BrewingStandSlot>}, void, void>
|
||||
*/
|
||||
public function slotsProvider() : \Generator{
|
||||
yield [BrewingStandSlot::getAll()];
|
||||
yield [array_values(BrewingStandSlot::getAll())];
|
||||
yield [[BrewingStandSlot::EAST()]];
|
||||
yield [[BrewingStandSlot::EAST(), BrewingStandSlot::NORTHWEST()]];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user