Skip to content

Commit 826ed95

Browse files
committed
update: incorrect use statements in examples
1 parent 86a1594 commit 826ed95

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ class RabbitMQJob extends BaseJob
263263
}
264264
```
265265

266-
If you want to handle raw message, not in JSON format or without 'job' key in JSON,
266+
If you want to handle raw message, not in JSON format or without 'job' key in JSON,
267267
you should add stub for `getName` method:
268268

269269
```php
@@ -342,7 +342,6 @@ and inform laravel to use your class by setting `RABBITMQ_WORKER` to `\App\Queue
342342
namespace App\Queue;
343343

344344
use VladimirYuldashev\LaravelQueueRabbitMQ\Queue\RabbitMQQueue as BaseRabbitMQQueue;
345-
use VladimirYuldashev\LaravelQueueRabbitMQ\Queue\ReconnectTrait;
346345

347346
class RabbitMQQueue extends BaseRabbitMQQueue
348347
{
@@ -362,8 +361,9 @@ You can override the publishing and the createChannel methods.
362361

363362
namespace App\Queue;
364363

364+
use PhpAmqpLib\Exception\AMQPChannelClosedException;
365+
use PhpAmqpLib\Exception\AMQPConnectionClosedException;
365366
use VladimirYuldashev\LaravelQueueRabbitMQ\Queue\RabbitMQQueue as BaseRabbitMQQueue;
366-
use VladimirYuldashev\LaravelQueueRabbitMQ\Queue\ReconnectTrait;
367367

368368
class RabbitMQQueue extends BaseRabbitMQQueue
369369
{

0 commit comments

Comments
 (0)