From 0163e4f27c698f40b3989cb10066ffd600930d5d Mon Sep 17 00:00:00 2001 From: rennokki Date: Sat, 12 Sep 2020 14:45:20 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Console/Commands/StartServer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/Commands/StartServer.php b/src/Console/Commands/StartServer.php index 03d6e013c7..c06ed21ea9 100644 --- a/src/Console/Commands/StartServer.php +++ b/src/Console/Commands/StartServer.php @@ -288,7 +288,7 @@ protected function triggerSoftShutdown() // Get all local connections and close them. They will // be automatically be unsubscribed from all channels. $channelManager->getLocalConnections() - ->then(function ($connections) use ($channelManager) { + ->then(function ($connections) { foreach ($connections as $connection) { $connection->close(); }