Merge branch 'feature/async-queue' of github.com:beyondcode/laravel-websockets into feature/async-queue

This commit is contained in:
Alex Renoki 2020-09-25 22:35:42 +03:00
commit eb7161421f
3 changed files with 3 additions and 4 deletions

View File

@ -3,7 +3,6 @@
namespace BeyondCode\LaravelWebSockets\Queue; namespace BeyondCode\LaravelWebSockets\Queue;
use BeyondCode\LaravelWebSockets\Contracts\ChannelManager; use BeyondCode\LaravelWebSockets\Contracts\ChannelManager;
use Illuminate\Contracts\Redis\Factory as Redis;
use Illuminate\Queue\RedisQueue; use Illuminate\Queue\RedisQueue;
class AsyncRedisQueue extends RedisQueue class AsyncRedisQueue extends RedisQueue
@ -15,7 +14,7 @@ class AsyncRedisQueue extends RedisQueue
*/ */
public function getConnection() public function getConnection()
{ {
$channelManager = $this->container->bound(ChannelManager::Class) $channelManager = $this->container->bound(ChannelManager::class)
? $this->container->make(ChannelManager::class) ? $this->container->make(ChannelManager::class)
: null; : null;

View File

@ -4,10 +4,10 @@ namespace BeyondCode\LaravelWebSockets\Test;
use Illuminate\Container\Container; use Illuminate\Container\Container;
use Illuminate\Contracts\Redis\Factory; use Illuminate\Contracts\Redis\Factory;
use Illuminate\Queue\Jobs\RedisJob;
use Illuminate\Queue\LuaScripts; use Illuminate\Queue\LuaScripts;
use Illuminate\Queue\Queue; use Illuminate\Queue\Queue;
use Illuminate\Queue\RedisQueue; use Illuminate\Queue\RedisQueue;
use Illuminate\Queue\Jobs\RedisJob;
use Illuminate\Support\Carbon; use Illuminate\Support\Carbon;
use Illuminate\Support\Str; use Illuminate\Support\Str;
use Mockery as m; use Mockery as m;

View File

@ -4,10 +4,10 @@ namespace BeyondCode\LaravelWebSockets\Test;
use Illuminate\Container\Container; use Illuminate\Container\Container;
use Illuminate\Contracts\Redis\Factory; use Illuminate\Contracts\Redis\Factory;
use Illuminate\Queue\Jobs\RedisJob;
use Illuminate\Queue\LuaScripts; use Illuminate\Queue\LuaScripts;
use Illuminate\Queue\Queue; use Illuminate\Queue\Queue;
use Illuminate\Queue\RedisQueue; use Illuminate\Queue\RedisQueue;
use Illuminate\Queue\Jobs\RedisJob;
use Illuminate\Support\Carbon; use Illuminate\Support\Carbon;
use Illuminate\Support\Str; use Illuminate\Support\Str;
use Mockery as m; use Mockery as m;