Apply fixes from StyleCI

This commit is contained in:
Marcel Pociot authored and StyleCI Bot committed 2020-06-17 10:35:07 +00:00
1 parent 0e33bc7d99
commit 83676deddb
56 files changed
+189 -316

No files matched your search

+2 -2
View File
@@ -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;