Datatype fix - ws engine

This commit is contained in:
fbsanchez 2019-12-13 11:58:12 +01:00
parent 3b5ebd0bf7
commit 5f32bfdb64
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ class WSManager extends WebSocketServer
*/
public function __construct(
$listen_addr,
$listen_port,
int $listen_port,
$connected=[],
$process=[],
$processRaw=[],

View File

@ -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.