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

Commit c557161

Browse files
committed
Fix route definition for Lumen
1 parent 1073c7c commit c557161

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/RemoteQueueServiceProvider.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Biigle\RemoteQueue;
44

5-
use Illuminate\Routing\Router;
65
use Illuminate\Support\ServiceProvider;
76
use Biigle\RemoteQueue\Http\Middleware\Authenticate;
87

@@ -13,14 +12,14 @@ class RemoteQueueServiceProvider extends ServiceProvider
1312
*
1413
* @return void
1514
*/
16-
public function boot(Router $router)
15+
public function boot()
1716
{
1817
$this->app['queue']->addConnector('remote', function() {
1918
return new RemoteConnector;
2019
});
2120

2221
if (config('remote-queue.listen')) {
23-
$router->group([
22+
$this->app['router']->group([
2423
'prefix' => config('remote-queue.endpoint'),
2524
'namespace' => 'Biigle\RemoteQueue\Http\Controllers',
2625
'middleware' => Authenticate::class,

0 commit comments

Comments
 (0)