@@ -87,7 +87,7 @@ |
||
87 | 87 | * |
88 | 88 | * @param string $queue |
89 | 89 | * |
90 | - * @return \Illuminate\Contracts\Queue\Job|null |
|
90 | + * @return null|RabbitMqJob |
|
91 | 91 | */ |
92 | 92 | public function pop($queue = null) |
93 | 93 | { |
@@ -1,2 +1,2 @@ |
||
1 | 1 | <?php |
2 | -require_once dirname(__DIR__) . '/vendor/autoload.php'; |
|
2 | +require_once dirname(__DIR__).'/vendor/autoload.php'; |
@@ -43,7 +43,7 @@ |
||
43 | 43 | return new Producer($app[Connection::class]); |
44 | 44 | }); |
45 | 45 | |
46 | - $this->app->booted(function () use ($rabbitMqConfig) { |
|
46 | + $this->app->booted(function() use ($rabbitMqConfig) { |
|
47 | 47 | $queueManager = $this->app[QueueManager::class]; |
48 | 48 | $queueManager->addConnector('rabbitmq', function() use ($rabbitMqConfig) { |
49 | 49 | return new RabbitMQConnector($this->app[Consumer::class], $this->app[Producer::class], $rabbitMqConfig); |