Datatype fix - ws engine
This commit is contained in:
parent
3b5ebd0bf7
commit
5f32bfdb64
|
@ -152,7 +152,7 @@ class WSManager extends WebSocketServer
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
public function __construct(
|
||||||
$listen_addr,
|
$listen_addr,
|
||||||
$listen_port,
|
int $listen_port,
|
||||||
$connected=[],
|
$connected=[],
|
||||||
$process=[],
|
$process=[],
|
||||||
$processRaw=[],
|
$processRaw=[],
|
||||||
|
|
|
@ -139,7 +139,7 @@ $ws = new WSManager(
|
||||||
// Bind address.
|
// Bind address.
|
||||||
$config['ws_bind_address'],
|
$config['ws_bind_address'],
|
||||||
// Bind port.
|
// Bind port.
|
||||||
$config['ws_port'],
|
(int) $config['ws_port'],
|
||||||
// Connected handlers.
|
// Connected handlers.
|
||||||
['gotty' => 'proxyConnected'],
|
['gotty' => 'proxyConnected'],
|
||||||
// Process handlers.
|
// Process handlers.
|
||||||
|
|
Loading…
Reference in New Issue