We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73c1a42 commit a061826Copy full SHA for a061826
src/VladimirYuldashev/LaravelQueueRabbitMQ/Queue/Jobs/RabbitMQJob.php
@@ -7,6 +7,7 @@
7
use Illuminate\Contracts\Queue\Job as JobContract;
8
use Illuminate\Database\DetectsDeadlocks;
9
use Illuminate\Queue\Jobs\Job;
10
+use Illuminate\Queue\Jobs\JobName;
11
use Illuminate\Support\Str;
12
use PhpAmqpLib\Channel\AMQPChannel;
13
use PhpAmqpLib\Message\AMQPMessage;
@@ -60,7 +61,7 @@ public function fire()
60
61
{
62
$payload = $this->payload();
63
- list($class, $method) = $this->parseJob($payload['job']);
64
+ list($class, $method) = JobName::parse($payload['job']);
65
66
$this->instance = $this->resolve($class);
67
0 commit comments