Fixed PHPUnit deprecation warnings

This commit is contained in:
Dylan K. Taylor
2023-06-04 14:00:26 +01:00
parent 7fef8f0ab6
commit f9818efff4
11 changed files with 33 additions and 33 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()]];