Fix PHP 8 optional before required parameters deprecation warnings (#4016)

This commit is contained in:
yuko fuyutsuki
2021-01-31 21:08:47 +09:00
committed by GitHub
parent 02ee0f23c0
commit 37e8dd6444
2 changed files with 2 additions and 2 deletions

View File

@ -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 = "";