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