Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 2880610

Browse files
authored
Apply fixes from StyleCI (#551)
1 parent c1bef4d commit 2880610

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/Queue/AsyncRedisQueue.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace BeyondCode\LaravelWebSockets\Queue;
44

55
use BeyondCode\LaravelWebSockets\Contracts\ChannelManager;
6-
use Illuminate\Contracts\Redis\Factory as Redis;
76
use Illuminate\Queue\RedisQueue;
87

98
class AsyncRedisQueue extends RedisQueue
@@ -15,7 +14,7 @@ class AsyncRedisQueue extends RedisQueue
1514
*/
1615
public function getConnection()
1716
{
18-
$channelManager = $this->container->bound(ChannelManager::Class)
17+
$channelManager = $this->container->bound(ChannelManager::class)
1918
? $this->container->make(ChannelManager::class)
2019
: null;
2120

tests/LocalQueueTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
use Illuminate\Container\Container;
66
use Illuminate\Contracts\Redis\Factory;
7+
use Illuminate\Queue\Jobs\RedisJob;
78
use Illuminate\Queue\LuaScripts;
89
use Illuminate\Queue\Queue;
910
use Illuminate\Queue\RedisQueue;
10-
use Illuminate\Queue\Jobs\RedisJob;
1111
use Illuminate\Support\Carbon;
1212
use Illuminate\Support\Str;
1313
use Mockery as m;

tests/RedisQueueTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
use Illuminate\Container\Container;
66
use Illuminate\Contracts\Redis\Factory;
7+
use Illuminate\Queue\Jobs\RedisJob;
78
use Illuminate\Queue\LuaScripts;
89
use Illuminate\Queue\Queue;
910
use Illuminate\Queue\RedisQueue;
10-
use Illuminate\Queue\Jobs\RedisJob;
1111
use Illuminate\Support\Carbon;
1212
use Illuminate\Support\Str;
1313
use Mockery as m;

0 commit comments

Comments
 (0)