This commit is contained in:
Dylan K. Taylor 2022-09-15 12:01:26 +01:00
parent c063198b89
commit 3d03bb1301
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D
3 changed files with 1 additions and 3 deletions

View File

@ -38,7 +38,6 @@ class Effect{
* @param Translatable|string $name Translation key used for effect name * @param Translatable|string $name Translation key used for effect name
* @param Color $color Color of bubbles given by this effect * @param Color $color Color of bubbles given by this effect
* @param bool $bad Whether the effect is harmful * @param bool $bad Whether the effect is harmful
* @param int $defaultDuration
* @param bool $hasBubbles Whether the effect has potion bubbles. Some do not (e.g. Instant Damage has its own particles instead of bubbles) * @param bool $hasBubbles Whether the effect has potion bubbles. Some do not (e.g. Instant Damage has its own particles instead of bubbles)
*/ */
public function __construct( public function __construct(

View File

@ -43,8 +43,6 @@ class ChunkCache implements ChunkListener{
/** /**
* Fetches the ChunkCache instance for the given world. This lazily creates cache systems as needed. * Fetches the ChunkCache instance for the given world. This lazily creates cache systems as needed.
*
* @return ChunkCache
*/ */
public static function getInstance(World $world, Compressor $compressor) : self{ public static function getInstance(World $world, Compressor $compressor) : self{
$worldId = spl_object_id($world); $worldId = spl_object_id($world);

View File

@ -25,6 +25,7 @@ namespace pocketmine\block;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use pocketmine\block\utils\BrewingStandSlot; use pocketmine\block\utils\BrewingStandSlot;
use function array_values;
use function count; use function count;
class BrewingStandTest extends TestCase{ class BrewingStandTest extends TestCase{