populate missing array value types in scheduler namespace

This commit is contained in:
Dylan K. Taylor 2020-01-30 21:19:15 +00:00
parent d94995e161
commit 0537c66849
2 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,7 @@ class BulkCurlTask extends AsyncTask{
* "timeout", "extraHeaders" and "extraOpts". Documentation of these options are same as those in
* {@link Utils::simpleCurl}.
*
* @param mixed[][] $operations
* @param mixed|null $complexData
*/
public function __construct(array $operations, $complexData = null){

View File

@ -49,6 +49,9 @@ class SendUsageTask extends AsyncTask{
/** @var string */
public $data;
/**
* @param string[] $playerList
*/
public function __construct(Server $server, int $type, array $playerList = []){
$endpoint = "http://" . $server->getProperty("anonymous-statistics.host", "stats.pocketmine.net") . "/";