Applied fixes from StyleCI (#464)

This commit is contained in:
Phan An 2016-09-26 15:33:53 +08:00 committed by GitHub
parent d3843f2d5f
commit 75afd02d54
5 changed files with 6 additions and 4 deletions

View file

@ -3,8 +3,8 @@
namespace App\Exceptions;
use Exception;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Illuminate\Foundation\Validation\ValidationException;

View file

@ -48,6 +48,6 @@ class Kernel extends HttpKernel
'os.auth' => ObjectStorageAuthenticate::class,
'bindings' => SubstituteBindings::class,
'can' => Authorize::class,
'throttle' => ThrottleRequests::class
'throttle' => ThrottleRequests::class,
];
}

View file

@ -2,8 +2,8 @@
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Broadcast;
use Illuminate\Support\ServiceProvider;
class BroadcastServiceProvider extends ServiceProvider
{

View file

@ -5,7 +5,6 @@ namespace App\Providers;
use App\Models\Album;
use App\Models\File;
use App\Models\Song;
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider

View file

@ -25,6 +25,7 @@ class RouteServiceProvider extends ServiceProvider
{
parent::boot();
}
/**
* Define the routes for the application.
*
@ -36,6 +37,7 @@ class RouteServiceProvider extends ServiceProvider
$this->mapWebRoutes();
//
}
/**
* Define the "web" routes for the application.
*
@ -52,6 +54,7 @@ class RouteServiceProvider extends ServiceProvider
require base_path('routes/web.php');
});
}
/**
* Define the "api" routes for the application.
*