This commit is contained in:
Marcel Pociot committed 2020-04-22 13:17:18 +02:00
1 parent e5e53b8b68
commit 6d212b1302
5 files changed
+13 -26

No files matched your search

@@ -18,7 +18,7 @@ class CheckBasicAuthentication
$this->configuration = $configuration;
}
public function handle(RequestInterface $request, WebSocket $proxyConnection): ?RequestInterface
public function handle(RequestInterface $request, ?WebSocket $proxyConnection): ?RequestInterface
{
if (! $this->requiresAuthentication() || is_null($proxyConnection)) {
return $request;