Skip to content

Commit 12d9e99

Browse files
committed
Support Laravel 5.3
1 parent f6f96d5 commit 12d9e99

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

src/Torann/LaravelRepository/Providers/EventServiceProvider.php

+1-13
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Torann\LaravelRepository\Providers;
44

5-
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
65
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
76

87
class EventServiceProvider extends ServiceProvider
@@ -14,18 +13,7 @@ class EventServiceProvider extends ServiceProvider
1413
*/
1514
protected $listen = [
1615
\Torann\LaravelRepository\Events\RepositoryEvent::class => [
17-
\Torann\LaravelRepository\Listeners\CleanCacheRepository::class
16+
\Torann\LaravelRepository\Listeners\CleanCacheRepository::class,
1817
],
1918
];
20-
21-
/**
22-
* Register any other events for your application.
23-
*
24-
* @param \Illuminate\Contracts\Events\Dispatcher $events
25-
* @return void
26-
*/
27-
public function boot(DispatcherContract $events)
28-
{
29-
parent::boot($events);
30-
}
3119
}

0 commit comments

Comments
 (0)