mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 04:17:07 +00:00
Modernize some final remaining private property declarations
This commit is contained in:
parent
c0b15de504
commit
8e767da29e
@ -40,8 +40,7 @@ class UpdateChecker{
|
|||||||
/** @var UpdateInfo|null */
|
/** @var UpdateInfo|null */
|
||||||
protected $updateInfo = null;
|
protected $updateInfo = null;
|
||||||
|
|
||||||
/** @var \Logger */
|
private \Logger $logger;
|
||||||
private $logger;
|
|
||||||
|
|
||||||
public function __construct(Server $server, string $endpoint){
|
public function __construct(Server $server, string $endpoint){
|
||||||
$this->server = $server;
|
$this->server = $server;
|
||||||
|
@ -52,14 +52,11 @@ class SetupWizard{
|
|||||||
public const DEFAULT_PORT = Server::DEFAULT_PORT_IPV4;
|
public const DEFAULT_PORT = Server::DEFAULT_PORT_IPV4;
|
||||||
public const DEFAULT_PLAYERS = Server::DEFAULT_MAX_PLAYERS;
|
public const DEFAULT_PLAYERS = Server::DEFAULT_MAX_PLAYERS;
|
||||||
|
|
||||||
/** @var Language */
|
private Language $lang;
|
||||||
private $lang;
|
|
||||||
/** @var string */
|
|
||||||
private $dataPath;
|
|
||||||
|
|
||||||
public function __construct(string $dataPath){
|
public function __construct(
|
||||||
$this->dataPath = $dataPath;
|
private string $dataPath
|
||||||
}
|
){}
|
||||||
|
|
||||||
public function run() : bool{
|
public function run() : bool{
|
||||||
$this->message(VersionInfo::NAME . " set-up wizard");
|
$this->message(VersionInfo::NAME . " set-up wizard");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user