Clean up according to newer php-cs-fixer

This commit is contained in:
Dylan K. Taylor 2022-01-21 23:45:49 +00:00
parent 1eae133118
commit 0697c7d316
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D
7 changed files with 0 additions and 18 deletions

View File

@ -100,8 +100,6 @@ class BlockBreakEvent extends BlockEvent implements Cancellable{
/** /**
* Variadic hack for easy array member type enforcement. * Variadic hack for easy array member type enforcement.
*
* @param Item ...$drops
*/ */
public function setDropsVariadic(Item ...$drops) : void{ public function setDropsVariadic(Item ...$drops) : void{
$this->blockDrops = $drops; $this->blockDrops = $drops;

View File

@ -58,8 +58,6 @@ interface Inventory{
* *
* Returns the Items that did not fit. * Returns the Items that did not fit.
* *
* @param Item ...$slots
*
* @return Item[] * @return Item[]
*/ */
public function addItem(Item ...$slots) : array; public function addItem(Item ...$slots) : array;
@ -73,8 +71,6 @@ interface Inventory{
* Removes the given Item from the inventory. * Removes the given Item from the inventory.
* It will return the Items that couldn't be removed. * It will return the Items that couldn't be removed.
* *
* @param Item ...$slots
*
* @return Item[] * @return Item[]
*/ */
public function removeItem(Item ...$slots) : array; public function removeItem(Item ...$slots) : array;

View File

@ -761,8 +761,6 @@ class Level implements ChunkManager, Metadatable{
/** /**
* @internal * @internal
* *
* @param Player ...$targets If empty, will send to all players in the level.
*
* @return void * @return void
*/ */
public function sendTime(Player ...$targets){ public function sendTime(Player ...$targets){
@ -2929,8 +2927,6 @@ class Level implements ChunkManager, Metadatable{
} }
/** /**
* @param Player ...$targets
*
* @return void * @return void
*/ */
public function sendDifficulty(Player ...$targets){ public function sendDifficulty(Player ...$targets){

View File

@ -540,8 +540,6 @@ class NetworkBinaryStream extends BinaryStream{
/** /**
* Writes a list of Attributes to the packet buffer using the standard format. * Writes a list of Attributes to the packet buffer using the standard format.
*
* @param Attribute ...$attributes
*/ */
public function putAttributeList(Attribute ...$attributes) : void{ public function putAttributeList(Attribute ...$attributes) : void{
$this->putUnsignedVarInt(count($attributes)); $this->putUnsignedVarInt(count($attributes));

View File

@ -365,8 +365,6 @@ class PluginManager{
/** /**
* Returns whether a specified API version string is considered compatible with the server's API version. * 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{ public function isCompatibleApi(string ...$versions) : bool{
$serverString = $this->server->getApiVersion(); $serverString = $this->server->getApiVersion();

View File

@ -109,8 +109,6 @@ class Color{
/** /**
* Mixes the supplied list of colours together to produce a result colour. * Mixes the supplied list of colours together to produce a result colour.
*
* @param Color ...$colors
*/ */
public static function mix(Color ...$colors) : Color{ public static function mix(Color ...$colors) : Color{
$count = count($colors); $count = count($colors);

View File

@ -84,8 +84,6 @@ class UUID{
/** /**
* Creates an UUIDv3 from binary data or list of binary data * Creates an UUIDv3 from binary data or list of binary data
*
* @param string ...$data
*/ */
public static function fromData(string ...$data) : UUID{ public static function fromData(string ...$data) : UUID{
$hash = hash("md5", implode($data), true); $hash = hash("md5", implode($data), true);