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

Commit ca3983e

Browse files
author
Steve Porter
authored
Merge pull request #1 from StevePorter92/analysis-XNor0y
Apply fixes from StyleCI
2 parents cdb951d + cfd395d commit ca3983e

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed

src/Connectors/RabbitMQConnector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
use Illuminate\Contracts\Events\Dispatcher;
99
use Illuminate\Contracts\Queue\Queue;
1010
use Illuminate\Queue\Events\WorkerStopping;
11-
use Interop\Amqp\AmqpConnectionFactory as InteropAmqpConnectionFactory;
1211
use Interop\Amqp\AmqpConnectionFactory;
12+
use Interop\Amqp\AmqpConnectionFactory as InteropAmqpConnectionFactory;
1313
use Interop\Amqp\AmqpContext;
1414
use VladimirYuldashev\LaravelQueueRabbitMQ\Queue\Connectors\RabbitMQConnector as BaseConnector;
1515

@@ -23,7 +23,7 @@ public function __construct(Dispatcher $dispatcher)
2323
}
2424

2525
/**
26-
* @inheritDoc
26+
* {@inheritdoc}
2727
*/
2828
public function connect(array $config): Queue
2929
{

src/Jobs/RabbitMQJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class RabbitMQJob extends BaseJob
88
{
99
/**
10-
* @inheritDoc
10+
* {@inheritdoc}
1111
*/
1212
public function delete()
1313
{

src/RabbitMQQueue.php

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function readyNow($queue = null)
3333
}
3434

3535
/**
36-
* @inheritDoc
36+
* {@inheritdoc}
3737
*/
3838
public function push($job, $data = '', $queue = null)
3939
{
@@ -43,7 +43,7 @@ public function push($job, $data = '', $queue = null)
4343
}
4444

4545
/**
46-
* @inheritDoc
46+
* {@inheritdoc}
4747
*/
4848
public function pushRaw($payload, $queue = null, array $options = [])
4949
{
@@ -55,7 +55,7 @@ public function pushRaw($payload, $queue = null, array $options = [])
5555
}
5656

5757
/**
58-
* @inheritDoc
58+
* {@inheritdoc}
5959
*/
6060
public function later($delay, $job, $data = '', $queue = null)
6161
{
@@ -67,7 +67,7 @@ public function later($delay, $job, $data = '', $queue = null)
6767
}
6868

6969
/**
70-
* @inheritDoc
70+
* {@inheritdoc}
7171
*/
7272
protected function popRaw($queueName = null)
7373
{
@@ -81,12 +81,10 @@ protected function popRaw($queueName = null)
8181
}
8282
$this->reportConnectionError('pop', $exception);
8383
}
84-
85-
return null;
8684
}
8785

8886
/**
89-
* @inheritDoc
87+
* {@inheritdoc}
9088
*/
9189
public function pop($queue = null)
9290
{
@@ -131,7 +129,7 @@ protected function createPayloadArray($job, $data = '')
131129
}
132130

133131
/**
134-
* Fire the job deleted event
132+
* Fire the job deleted event.
135133
*
136134
* @param string $queue
137135
* @param \DesignMyNight\Laravel\Horizon\Jobs\RabbitMQJob $job
@@ -143,7 +141,7 @@ public function deleteReserved($queue, $job)
143141
}
144142

145143
/**
146-
* Get the queue name
144+
* Get the queue name.
147145
*
148146
* @param string|null $queue
149147
* @return string
@@ -162,5 +160,4 @@ protected function getRandomId()
162160
{
163161
return JobId::generate();
164162
}
165-
166163
}

0 commit comments

Comments
 (0)