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

@ -690,7 +690,7 @@ class Level implements ChunkManager, Metadatable{
* WARNING: Do not use this, it's only for internal use.
* Changes to this function won't be recorded on the version.
*
* @param Player[] ...$targets If empty, will send to all players in the level.
* @param Player ...$targets If empty, will send to all players in the level.
*/
public function sendTime(Player ...$targets){
$pk = new SetTimePacket();
@ -2942,7 +2942,7 @@ class Level implements ChunkManager, Metadatable{
}
/**
* @param Player[] ...$targets
* @param Player ...$targets
*/
public function sendDifficulty(Player ...$targets){
if(count($targets) === 0){