Skip to content

Commit bec20fc

Browse files
committed
Fix service provider boot signature for Laravel 5.1
1 parent 145352e commit bec20fc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Providers/LaravelMixpanelService.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use Illuminate\HTTP\Request;
1111
use Illuminate\Support\ServiceProvider;
1212
use Illuminate\Foundation\Support\Providers\EventServiceProvider;
13+
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
1314

1415
class LaravelMixpanelService extends EventServiceProvider
1516
{
@@ -20,9 +21,9 @@ class LaravelMixpanelService extends EventServiceProvider
2021
],
2122
];
2223

23-
public function boot()
24+
public function boot(DispatcherContract $events)
2425
{
25-
parent::boot();
26+
parent::boot($events);
2627

2728
include __DIR__ . '/../../routes/api.php';
2829

0 commit comments

Comments
 (0)