Skip to content

Commit 09a760f

Browse files
authored
Merge pull request #253 from kbosilkov/patch-1
Ability to inject custom AuthenticationProvider
2 parents f5917d0 + e722489 commit 09a760f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Event/ClientEventListener.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Gos\Bundle\WebSocketBundle\Event;
44

5-
use Gos\Bundle\WebSocketBundle\Client\Auth\WebsocketAuthenticationProvider;
5+
use Gos\Bundle\WebSocketBundle\Client\Auth\WebsocketAuthenticationProviderInterface;
66
use Gos\Bundle\WebSocketBundle\Client\ClientStorageInterface;
77
use Gos\Bundle\WebSocketBundle\Client\Exception\ClientNotFoundException;
88
use Psr\Log\LoggerInterface;
@@ -36,7 +36,7 @@ class ClientEventListener
3636
*/
3737
public function __construct(
3838
ClientStorageInterface $clientStorage,
39-
WebsocketAuthenticationProvider $authenticationProvider,
39+
WebsocketAuthenticationProviderInterface $authenticationProvider,
4040
LoggerInterface $logger = null
4141
) {
4242
$this->clientStorage = $clientStorage;

0 commit comments

Comments
 (0)