From c063198b893c945bc729282eeb4dd6746c61f269 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 2 Sep 2022 20:01:52 +0100 Subject: [PATCH] Fixed incorrect array key type in BrewingStandTest --- tests/phpunit/block/BrewingStandTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/block/BrewingStandTest.php b/tests/phpunit/block/BrewingStandTest.php index 58be37470..f812ffdaf 100644 --- a/tests/phpunit/block/BrewingStandTest.php +++ b/tests/phpunit/block/BrewingStandTest.php @@ -33,7 +33,7 @@ class BrewingStandTest extends TestCase{ * @phpstan-return \Generator}, void, void> */ public function slotsProvider() : \Generator{ - yield [BrewingStandSlot::getAll()]; + yield [array_values(BrewingStandSlot::getAll())]; yield [[BrewingStandSlot::EAST()]]; yield [[BrewingStandSlot::EAST(), BrewingStandSlot::NORTHWEST()]]; }