Fixed incorrect array key type in BrewingStandTest

This commit is contained in:
Dylan K. Taylor 2022-09-02 20:01:52 +01:00
parent f3ca6de1eb
commit c063198b89
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -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()]];
}