mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
More typehints, documentation fixes and static analysis cleanup
This commit is contained in:
@ -44,7 +44,7 @@ class AutoUpdater{
|
||||
* @param Server $server
|
||||
* @param string $endpoint
|
||||
*/
|
||||
public function __construct(Server $server, $endpoint){
|
||||
public function __construct(Server $server, string $endpoint){
|
||||
$this->server = $server;
|
||||
$this->endpoint = "http://$endpoint/api/";
|
||||
|
||||
|
Reference in New Issue
Block a user