From 87f5e0c31644a03a32e4f682994a8d9fc7d6d0f5 Mon Sep 17 00:00:00 2001 From: rennokki Date: Sat, 12 Sep 2020 14:45:29 +0000 Subject: [PATCH] Apply fixes from StyleCI (#522) --- 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 03d6e01..c06ed21 100644 --- a/src/Console/Commands/StartServer.php +++ b/src/Console/Commands/StartServer.php @@ -288,7 +288,7 @@ class StartServer extends Command // 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(); }