mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-08-30 06:55:11 +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>
|
* @phpstan-return \Generator<int, array{list<BrewingStandSlot>}, void, void>
|
||||||
*/
|
*/
|
||||||
public function slotsProvider() : \Generator{
|
public function slotsProvider() : \Generator{
|
||||||
yield [BrewingStandSlot::getAll()];
|
yield [array_values(BrewingStandSlot::getAll())];
|
||||||
yield [[BrewingStandSlot::EAST()]];
|
yield [[BrewingStandSlot::EAST()]];
|
||||||
yield [[BrewingStandSlot::EAST(), BrewingStandSlot::NORTHWEST()]];
|
yield [[BrewingStandSlot::EAST(), BrewingStandSlot::NORTHWEST()]];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user