Browse Source

Remove scan arrays.

Taylor Otwell 9 years ago
parent
commit
007040e2ae
2 changed files with 0 additions and 20 deletions
  1. 0 9
      app/Providers/EventServiceProvider.php
  2. 0 11
      app/Providers/RouteServiceProvider.php

+ 0 - 9
app/Providers/EventServiceProvider.php

@@ -4,15 +4,6 @@ use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvi
 
 class EventServiceProvider extends ServiceProvider {
 
-	/**
-	 * The classes to scan for event annotations.
-	 *
-	 * @var array
-	 */
-	protected $scan = [
-		//
-	];
-
 	/**
 	 * The event handler mappings for the application.
 	 *

+ 0 - 11
app/Providers/RouteServiceProvider.php

@@ -5,17 +5,6 @@ use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvi
 
 class RouteServiceProvider extends ServiceProvider {
 
-	/**
-	 * The controllers to scan for route annotations.
-	 *
-	 * @var array
-	 */
-	protected $scan = [
-		'App\Http\Controllers\HomeController',
-		'App\Http\Controllers\Auth\AuthController',
-		'App\Http\Controllers\Auth\PasswordController',
-	];
-
 	/**
 	 * All of the application's route middleware keys.
 	 *