Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
iamfarhad committed Dec 30, 2022
1 parent b9e0b86 commit 4f5f862
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Consumer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace iamfarhad\LaravelRabbitMQ;

use Exception;
use Illuminate\Container\Container;
use Illuminate\Container\Cosntainer;
use Illuminate\Queue\Worker;
use Illuminate\Queue\WorkerOptions;
use PhpAmqpLib\Channel\AMQPChannel;
Expand Down
2 changes: 1 addition & 1 deletion src/RabbitQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ private function declareExchange(
*/
public function getJobClass(): string
{
$job = Arr::get($this->options, 'job', RabbitMQJob::class);
$job = config('queue.connections.rabbitmq.options.queue.job');

throw_if(
! is_a($job, RabbitMQJob::class, true),
Expand Down

0 comments on commit 4f5f862

Please sign in to comment.