Skip to content

Commit eb397a0

Browse files
committed
fix pint linter issues
1 parent 5bc3a52 commit eb397a0

14 files changed

+0
-153
lines changed

src/Console/ExchangeDeclareCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ class ExchangeDeclareCommand extends Command
1818
protected $description = 'Declare exchange';
1919

2020
/**
21-
* @param RabbitMQConnector $connector
22-
*
2321
* @throws Exception
2422
*/
2523
public function handle(RabbitMQConnector $connector): void

src/Console/ExchangeDeleteCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ class ExchangeDeleteCommand extends Command
1616
protected $description = 'Delete exchange';
1717

1818
/**
19-
* @param RabbitMQConnector $connector
20-
*
2119
* @throws Exception
2220
*/
2321
public function handle(RabbitMQConnector $connector): void

src/Console/QueueBindCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ class QueueBindCommand extends Command
1717
protected $description = 'Bind queue to exchange';
1818

1919
/**
20-
* @param RabbitMQConnector $connector
21-
*
2220
* @throws Exception
2321
*/
2422
public function handle(RabbitMQConnector $connector): void

src/Console/QueueDeclareCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ class QueueDeclareCommand extends Command
1919
protected $description = 'Declare queue';
2020

2121
/**
22-
* @param RabbitMQConnector $connector
23-
*
2422
* @throws Exception
2523
*/
2624
public function handle(RabbitMQConnector $connector): void

src/Console/QueueDeleteCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ class QueueDeleteCommand extends Command
1717
protected $description = 'Delete queue';
1818

1919
/**
20-
* @param RabbitMQConnector $connector
21-
*
2220
* @throws Exception
2321
*/
2422
public function handle(RabbitMQConnector $connector): void

src/Console/QueuePurgeCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ class QueuePurgeCommand extends Command
1919
protected $description = 'Purge all messages in queue';
2020

2121
/**
22-
* @param RabbitMQConnector $connector
23-
*
2422
* @throws Exception
2523
*/
2624
public function handle(RabbitMQConnector $connector): void

src/Consumer.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ public function setPrefetchCount(int $value): void
6565
*
6666
* @param string $connectionName
6767
* @param string $queue
68-
* @param WorkerOptions $options
6968
* @return int
7069
*
7170
* @throws Throwable
@@ -181,10 +180,8 @@ function (AMQPMessage $message) use ($connection, $options, $connectionName, $qu
181180
/**
182181
* Determine if the daemon should process on this iteration.
183182
*
184-
* @param WorkerOptions $options
185183
* @param string $connectionName
186184
* @param string $queue
187-
* @return bool
188185
*/
189186
protected function daemonShouldRun(WorkerOptions $options, $connectionName, $queue): bool
190187
{

src/Horizon/Listeners/RabbitMQFailedEvent.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ class RabbitMQFailedEvent
1919
/**
2020
* Create a new listener instance.
2121
*
22-
* @param Dispatcher $events
2322
* @return void
2423
*/
2524
public function __construct(Dispatcher $events)
@@ -29,9 +28,6 @@ public function __construct(Dispatcher $events)
2928

3029
/**
3130
* Handle the event.
32-
*
33-
* @param LaravelJobFailed $event
34-
* @return void
3531
*/
3632
public function handle(LaravelJobFailed $event): void
3733
{

src/Horizon/RabbitMQQueue.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ class RabbitMQQueue extends BaseRabbitMQQueue
2626
* Get the number of queue jobs that are ready to process.
2727
*
2828
* @param string|null $queue
29-
* @return int
3029
*
3130
* @throws AMQPProtocolChannelException
3231
*/
@@ -96,7 +95,6 @@ public function release($delay, $job, $data, $queue, $attempts = 0)
9695
*
9796
* @param string $queue
9897
* @param RabbitMQJob $job
99-
* @return void
10098
*
10199
* @throws BindingResolutionException
102100
*/
@@ -110,7 +108,6 @@ public function deleteReserved($queue, $job): void
110108
*
111109
* @param string $queue
112110
* @param mixed $event
113-
* @return void
114111
*
115112
* @throws BindingResolutionException
116113
*/

src/LaravelQueueRabbitMQServiceProvider.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ class LaravelQueueRabbitMQServiceProvider extends ServiceProvider
1212
{
1313
/**
1414
* Register the service provider.
15-
*
16-
* @return void
1715
*/
1816
public function register(): void
1917
{
@@ -60,8 +58,6 @@ public function register(): void
6058

6159
/**
6260
* Register the application's event listeners.
63-
*
64-
* @return void
6561
*/
6662
public function boot(): void
6763
{

0 commit comments

Comments
 (0)