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

Commit b385535

Browse files
committed
updated readme, fixes
1 parent 610b233 commit b385535

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ Add these lines to your `app/config/queue.php` file to `connections` array:
4343
4444
And add these properties to `.env` with proper values:
4545

46+
QUEUE_DRIVER=rabbitmq
47+
4648
RABBITMQ_HOST=127.0.0.1
4749
RABBITMQ_PORT=5672
4850
RABBITMQ_VHOST=/

src/FintechFab/LaravelQueueRabbitMQ/Queue/Jobs/RabbitMQJob.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php namespace FintechFab\LaravelQueueRabbitMQ\Queue\Jobs;
22

33
use Illuminate\Container\Container;
4+
use Illuminate\Contracts\Queue\Job as JobContract;
45
use Illuminate\Queue\Jobs\Job;
56
use PhpAmqpLib\Channel\AMQPChannel;
67
use PhpAmqpLib\Message\AMQPMessage;
7-
use Queue;
88

9-
class RabbitMQJob extends Job
9+
class RabbitMQJob extends Job implements JobContract
1010
{
1111

1212
protected $channel;

0 commit comments

Comments
 (0)