mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 21:45:55 +00:00
Apply fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
0e33bc7d99
commit
83676deddb
@@ -35,14 +35,14 @@ class ConnectionManager implements ConnectionManagerContract
|
||||
|
||||
$connection->setMaximumConnectionLength($maximumConnectionLength);
|
||||
|
||||
$this->loop->addTimer($maximumConnectionLength * 60, function() use ($connection) {
|
||||
$this->loop->addTimer($maximumConnectionLength * 60, function () use ($connection) {
|
||||
$connection->socket->close();
|
||||
});
|
||||
}
|
||||
|
||||
public function storeConnection(string $host, ?string $subdomain, ConnectionInterface $connection): ControlConnection
|
||||
{
|
||||
$clientId = (string)uniqid();
|
||||
$clientId = (string) uniqid();
|
||||
|
||||
$connection->client_id = $clientId;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user