mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Merge branch 'next-minor' into next-major
This commit is contained in:
@ -25,6 +25,7 @@ namespace pocketmine\block;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use pocketmine\block\utils\BrewingStandSlot;
|
||||
use function array_values;
|
||||
use function count;
|
||||
|
||||
class BrewingStandTest extends TestCase{
|
||||
@ -33,7 +34,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()]];
|
||||
}
|
||||
|
Reference in New Issue
Block a user