Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
middleware fix
  • Loading branch information
valentint committed Feb 20, 2017
commit 4c3306b94a579c627e77ed71f416be00fe7cf1c5
2 changes: 1 addition & 1 deletion Server/Type/WebSocketServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public function launch($host, $port, $profile)

if (!empty($this->handshakeMiddlewareRegistry->getMiddlewares())) {
foreach ($this->handshakeMiddlewareRegistry->getMiddlewares() as $middleware) {
call_user_func([$stack, 'push'], ['Gos\Bundle\WebSocketBundle\Server\App\Stack\Factory\Middleware', $middleware]);
call_user_func([$stack, 'push'], 'Gos\Bundle\WebSocketBundle\Server\App\Stack\Factory\Middleware', $middleware);
}
}

Expand Down