mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Fix PHP 8 optional before required parameters deprecation warnings (#4016)
This commit is contained in:
@ -77,7 +77,7 @@ class RCONInstance extends Thread{
|
||||
* @param resource $socket
|
||||
* @param resource $ipcSocket
|
||||
*/
|
||||
public function __construct($socket, string $password, int $maxClients = 50, \ThreadedLogger $logger, $ipcSocket, ?SleeperNotifier $notifier){
|
||||
public function __construct($socket, string $password, int $maxClients, \ThreadedLogger $logger, $ipcSocket, ?SleeperNotifier $notifier){
|
||||
$this->stop = false;
|
||||
$this->cmd = "";
|
||||
$this->response = "";
|
||||
|
Reference in New Issue
Block a user