mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 22:45:28 +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
|
* "timeout", "extraHeaders" and "extraOpts". Documentation of these options are same as those in
|
||||||
* {@link Utils::simpleCurl}.
|
* {@link Utils::simpleCurl}.
|
||||||
*
|
*
|
||||||
|
* @param mixed[][] $operations
|
||||||
* @param mixed|null $complexData
|
* @param mixed|null $complexData
|
||||||
*/
|
*/
|
||||||
public function __construct(array $operations, $complexData = null){
|
public function __construct(array $operations, $complexData = null){
|
||||||
|
@ -49,6 +49,9 @@ class SendUsageTask extends AsyncTask{
|
|||||||
/** @var string */
|
/** @var string */
|
||||||
public $data;
|
public $data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string[] $playerList
|
||||||
|
*/
|
||||||
public function __construct(Server $server, int $type, array $playerList = []){
|
public function __construct(Server $server, int $type, array $playerList = []){
|
||||||
$endpoint = "http://" . $server->getProperty("anonymous-statistics.host", "stats.pocketmine.net") . "/";
|
$endpoint = "http://" . $server->getProperty("anonymous-statistics.host", "stats.pocketmine.net") . "/";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user