mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
Apply fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
1fc277fd5e
commit
077be1cee3
@@ -173,7 +173,7 @@ class ConnectionManager implements ConnectionManagerContract
|
||||
->filter(function ($connection) use ($authToken) {
|
||||
return $connection->authToken === $authToken;
|
||||
})
|
||||
->filter(function ($connection) use ($authToken) {
|
||||
->filter(function ($connection) {
|
||||
return get_class($connection) === ControlConnection::class;
|
||||
})
|
||||
->map(function ($connection) {
|
||||
@@ -189,7 +189,7 @@ class ConnectionManager implements ConnectionManagerContract
|
||||
->filter(function ($connection) use ($authToken) {
|
||||
return $connection->authToken === $authToken;
|
||||
})
|
||||
->filter(function ($connection) use ($authToken) {
|
||||
->filter(function ($connection) {
|
||||
return get_class($connection) === TcpControlConnection::class;
|
||||
})
|
||||
->map(function ($connection) {
|
||||
|
||||
@@ -322,7 +322,7 @@ class TunnelTest extends TestCase
|
||||
$this->testTcpServer = new \React\Socket\Server(8085, $this->loop);
|
||||
|
||||
$this->testTcpServer->on('connection', function (\React\Socket\ConnectionInterface $connection) {
|
||||
$connection->write("Hello " . $connection->getRemoteAddress() . "!\n");
|
||||
$connection->write('Hello '.$connection->getRemoteAddress()."!\n");
|
||||
|
||||
$connection->pipe($connection);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user