diff --git a/src/pocketmine/event/block/BlockBreakEvent.php b/src/pocketmine/event/block/BlockBreakEvent.php index df821ee85..5c9bfefa1 100644 --- a/src/pocketmine/event/block/BlockBreakEvent.php +++ b/src/pocketmine/event/block/BlockBreakEvent.php @@ -100,8 +100,6 @@ class BlockBreakEvent extends BlockEvent implements Cancellable{ /** * Variadic hack for easy array member type enforcement. - * - * @param Item ...$drops */ public function setDropsVariadic(Item ...$drops) : void{ $this->blockDrops = $drops; diff --git a/src/pocketmine/inventory/Inventory.php b/src/pocketmine/inventory/Inventory.php index f950b73af..e7e69815e 100644 --- a/src/pocketmine/inventory/Inventory.php +++ b/src/pocketmine/inventory/Inventory.php @@ -58,8 +58,6 @@ interface Inventory{ * * Returns the Items that did not fit. * - * @param Item ...$slots - * * @return Item[] */ public function addItem(Item ...$slots) : array; @@ -73,8 +71,6 @@ interface Inventory{ * Removes the given Item from the inventory. * It will return the Items that couldn't be removed. * - * @param Item ...$slots - * * @return Item[] */ public function removeItem(Item ...$slots) : array; diff --git a/src/pocketmine/level/Level.php b/src/pocketmine/level/Level.php index 2c503ea0d..a400221d6 100644 --- a/src/pocketmine/level/Level.php +++ b/src/pocketmine/level/Level.php @@ -761,8 +761,6 @@ class Level implements ChunkManager, Metadatable{ /** * @internal * - * @param Player ...$targets If empty, will send to all players in the level. - * * @return void */ public function sendTime(Player ...$targets){ @@ -2929,8 +2927,6 @@ class Level implements ChunkManager, Metadatable{ } /** - * @param Player ...$targets - * * @return void */ public function sendDifficulty(Player ...$targets){ diff --git a/src/pocketmine/network/mcpe/NetworkBinaryStream.php b/src/pocketmine/network/mcpe/NetworkBinaryStream.php index d07644f5f..3dfcfea6a 100644 --- a/src/pocketmine/network/mcpe/NetworkBinaryStream.php +++ b/src/pocketmine/network/mcpe/NetworkBinaryStream.php @@ -540,8 +540,6 @@ class NetworkBinaryStream extends BinaryStream{ /** * Writes a list of Attributes to the packet buffer using the standard format. - * - * @param Attribute ...$attributes */ public function putAttributeList(Attribute ...$attributes) : void{ $this->putUnsignedVarInt(count($attributes)); diff --git a/src/pocketmine/plugin/PluginManager.php b/src/pocketmine/plugin/PluginManager.php index 6ee6fa1ec..6bbf131fd 100644 --- a/src/pocketmine/plugin/PluginManager.php +++ b/src/pocketmine/plugin/PluginManager.php @@ -365,8 +365,6 @@ class PluginManager{ /** * Returns whether a specified API version string is considered compatible with the server's API version. - * - * @param string ...$versions */ public function isCompatibleApi(string ...$versions) : bool{ $serverString = $this->server->getApiVersion(); diff --git a/src/pocketmine/utils/Color.php b/src/pocketmine/utils/Color.php index 1522c20c1..b6f36fafa 100644 --- a/src/pocketmine/utils/Color.php +++ b/src/pocketmine/utils/Color.php @@ -109,8 +109,6 @@ class Color{ /** * Mixes the supplied list of colours together to produce a result colour. - * - * @param Color ...$colors */ public static function mix(Color ...$colors) : Color{ $count = count($colors); diff --git a/src/pocketmine/utils/UUID.php b/src/pocketmine/utils/UUID.php index b6d725d39..05b31f8b7 100644 --- a/src/pocketmine/utils/UUID.php +++ b/src/pocketmine/utils/UUID.php @@ -84,8 +84,6 @@ class UUID{ /** * Creates an UUIDv3 from binary data or list of binary data - * - * @param string ...$data */ public static function fromData(string ...$data) : UUID{ $hash = hash("md5", implode($data), true);