mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Moar typehints
This commit is contained in:
@ -38,7 +38,12 @@ class SendUsageTask extends AsyncTask{
|
||||
public $endpoint;
|
||||
public $data;
|
||||
|
||||
public function __construct(Server $server, $type, $playerList = []){
|
||||
/**
|
||||
* @param Server $server
|
||||
* @param int $type
|
||||
* @param array $playerList
|
||||
*/
|
||||
public function __construct(Server $server, int $type, array $playerList = []){
|
||||
$endpoint = "http://" . $server->getProperty("anonymous-statistics.host", "stats.pocketmine.net") . "/";
|
||||
|
||||
$data = [];
|
||||
|
Reference in New Issue
Block a user