Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c99d4e3

Browse files
committed
Merge pull request laravel#3228 from JoeForks/fix/event-sp
[5.0] Fix app event service provider contract
2 parents 0089439 + a348910 commit c99d4e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/Providers/EventServiceProvider.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?php namespace App\Providers;
22

3+
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
34
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
45

56
class EventServiceProvider extends ServiceProvider {
@@ -18,9 +19,10 @@ class EventServiceProvider extends ServiceProvider {
1819
/**
1920
* Register any other events for your application.
2021
*
22+
* @param \Illuminate\Contracts\Events\Dispatcher $events
2123
* @return void
2224
*/
23-
public function boot()
25+
public function boot(DispatcherContract $events)
2426
{
2527
//
2628
}

0 commit comments

Comments
 (0)