Fixed PHPUnit deprecation warnings

This commit is contained in:
Dylan K. Taylor
2023-06-04 14:00:26 +01:00
parent 2538880408
commit 92c45dd7e1
10 changed files with 15 additions and 15 deletions

View File

@ -33,7 +33,7 @@ class BrewingStandTest extends TestCase{
/**
* @phpstan-return \Generator<int, array{list<BrewingStandSlot>}, void, void>
*/
public function slotsProvider() : \Generator{
public static function slotsProvider() : \Generator{
yield [array_values(BrewingStandSlot::getAll())];
yield [[BrewingStandSlot::EAST()]];
yield [[BrewingStandSlot::EAST(), BrewingStandSlot::NORTHWEST()]];