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

View File

@@ -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;