mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
populate missing array value types in scheduler namespace
This commit is contained in:
parent
d94995e161
commit
0537c66849
@ -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){
|
||||
|
@ -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") . "/";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user