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
WebsocketAuthenticationProvider to WebsocketAuthenticationProviderInt…
…erface
  • Loading branch information
valentint committed Feb 21, 2017
commit 254eb38deeb9669e1d895ca64fbf66e85da75c5b
5 changes: 3 additions & 2 deletions Event/ClientEventListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Gos\Bundle\WebSocketBundle\Event;

use Gos\Bundle\WebSocketBundle\Client\Auth\WebsocketAuthenticationProvider;
use Gos\Bundle\WebSocketBundle\Client\Auth\WebsocketAuthenticationProviderInterface;
use Gos\Bundle\WebSocketBundle\Client\ClientStorageInterface;
use Gos\Bundle\WebSocketBundle\Client\Exception\ClientNotFoundException;
use Psr\Log\LoggerInterface;
Expand Down Expand Up @@ -31,12 +32,12 @@ class ClientEventListener

/**
* @param ClientStorageInterface $clientStorage
* @param WebsocketAuthenticationProvider $authenticationProvider
* @param WebsocketAuthenticationProviderInterface $authenticationProvider
* @param LoggerInterface|null $logger
*/
public function __construct(
ClientStorageInterface $clientStorage,
WebsocketAuthenticationProvider $authenticationProvider,
WebsocketAuthenticationProviderInterface $authenticationProvider,
LoggerInterface $logger = null
) {
$this->clientStorage = $clientStorage;
Expand Down