Fix variadic type docs ...again

PhpStorm changed its mind how it wants these documenting in 2018.1, and apparently the correct syntax follows the PHP code.
This commit is contained in:
Dylan K. Taylor
2018-04-02 12:33:24 +01:00
parent 8ce0fab8cc
commit eba1ca030c
7 changed files with 9 additions and 9 deletions

View File

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