Apply fixes from StyleCI (#551)

This commit is contained in:
rennokki 2020-09-25 19:16:30 +00:00 committed by GitHub
parent c1bef4db5b
commit 2880610bf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;