Browse Source

Fix app event service provider contract

Joseph Cohen 9 years ago
parent
commit
a348910c07
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app/Providers/EventServiceProvider.php

+ 3 - 1
app/Providers/EventServiceProvider.php

@@ -1,5 +1,6 @@
 <?php namespace App\Providers;
 
+use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
 use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
 
 class EventServiceProvider extends ServiceProvider {
@@ -18,9 +19,10 @@ class EventServiceProvider extends ServiceProvider {
 	/**
 	 * Register any other events for your application.
 	 *
+	 * @param  \Illuminate\Contracts\Events\Dispatcher  $events
 	 * @return void
 	 */
-	public function boot()
+	public function boot(DispatcherContract $events)
 	{
 		//
 	}