Merge branch 'feature/async-queue' of github.com:beyondcode/laravel-websockets into feature/async-queue
This commit is contained in:
commit
eb7161421f
|
|
@ -3,7 +3,6 @@
|
|||
namespace BeyondCode\LaravelWebSockets\Queue;
|
||||
|
||||
use BeyondCode\LaravelWebSockets\Contracts\ChannelManager;
|
||||
use Illuminate\Contracts\Redis\Factory as Redis;
|
||||
use Illuminate\Queue\RedisQueue;
|
||||
|
||||
class AsyncRedisQueue extends RedisQueue
|
||||
|
|
@ -15,7 +14,7 @@ class AsyncRedisQueue extends RedisQueue
|
|||
*/
|
||||
public function getConnection()
|
||||
{
|
||||
$channelManager = $this->container->bound(ChannelManager::Class)
|
||||
$channelManager = $this->container->bound(ChannelManager::class)
|
||||
? $this->container->make(ChannelManager::class)
|
||||
: null;
|
||||
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@ namespace BeyondCode\LaravelWebSockets\Test;
|
|||
|
||||
use Illuminate\Container\Container;
|
||||
use Illuminate\Contracts\Redis\Factory;
|
||||
use Illuminate\Queue\Jobs\RedisJob;
|
||||
use Illuminate\Queue\LuaScripts;
|
||||
use Illuminate\Queue\Queue;
|
||||
use Illuminate\Queue\RedisQueue;
|
||||
use Illuminate\Queue\Jobs\RedisJob;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Illuminate\Support\Str;
|
||||
use Mockery as m;
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@ namespace BeyondCode\LaravelWebSockets\Test;
|
|||
|
||||
use Illuminate\Container\Container;
|
||||
use Illuminate\Contracts\Redis\Factory;
|
||||
use Illuminate\Queue\Jobs\RedisJob;
|
||||
use Illuminate\Queue\LuaScripts;
|
||||
use Illuminate\Queue\Queue;
|
||||
use Illuminate\Queue\RedisQueue;
|
||||
use Illuminate\Queue\Jobs\RedisJob;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Illuminate\Support\Str;
|
||||
use Mockery as m;
|
||||
|
|
|
|||
Loading…
Reference in New Issue