Merge branch 'refactor/pubsub-replication-tests' of github.com:beyondcode/laravel-websockets into refactor/pubsub-replication-tests
This commit is contained in:
commit
0fdc0bc752
|
|
@ -20,7 +20,6 @@ use Illuminate\Support\Facades\Route;
|
||||||
use Illuminate\Support\ServiceProvider;
|
use Illuminate\Support\ServiceProvider;
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
use Pusher\Pusher;
|
use Pusher\Pusher;
|
||||||
use React\EventLoop\Factory as LoopFactory;
|
|
||||||
|
|
||||||
class WebSocketsServiceProvider extends ServiceProvider
|
class WebSocketsServiceProvider extends ServiceProvider
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,8 @@
|
||||||
|
|
||||||
namespace BeyondCode\LaravelWebSockets\Tests\Mocks;
|
namespace BeyondCode\LaravelWebSockets\Tests\Mocks;
|
||||||
|
|
||||||
use Clue\Redis\Protocol\Factory as ProtocolFactory;
|
|
||||||
use Clue\React\Redis\Factory;
|
use Clue\React\Redis\Factory;
|
||||||
use React\EventLoop\Factory as LoopFactory;
|
use Clue\Redis\Protocol\Factory as ProtocolFactory;
|
||||||
use React\EventLoop\LoopInterface;
|
use React\EventLoop\LoopInterface;
|
||||||
use React\Socket\ConnectorInterface;
|
use React\Socket\ConnectorInterface;
|
||||||
|
|
||||||
|
|
@ -28,7 +27,7 @@ class RedisFactory extends Factory
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create Redis client connected to address of given redis instance
|
* Create Redis client connected to address of given redis instance.
|
||||||
*
|
*
|
||||||
* @param string $target
|
* @param string $target
|
||||||
* @return Client
|
* @return Client
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue