mirror of
https://github.com/koel/koel
synced 2024-11-10 14:44:13 +00:00
Applied fixes from StyleCI (#464)
This commit is contained in:
parent
d3843f2d5f
commit
75afd02d54
5 changed files with 6 additions and 4 deletions
|
@ -3,8 +3,8 @@
|
||||||
namespace App\Exceptions;
|
namespace App\Exceptions;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
use Illuminate\Auth\AuthenticationException;
|
|
||||||
use Illuminate\Auth\Access\AuthorizationException;
|
use Illuminate\Auth\Access\AuthorizationException;
|
||||||
|
use Illuminate\Auth\AuthenticationException;
|
||||||
use Illuminate\Database\Eloquent\ModelNotFoundException;
|
use Illuminate\Database\Eloquent\ModelNotFoundException;
|
||||||
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
|
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
|
||||||
use Illuminate\Foundation\Validation\ValidationException;
|
use Illuminate\Foundation\Validation\ValidationException;
|
||||||
|
|
|
@ -48,6 +48,6 @@ class Kernel extends HttpKernel
|
||||||
'os.auth' => ObjectStorageAuthenticate::class,
|
'os.auth' => ObjectStorageAuthenticate::class,
|
||||||
'bindings' => SubstituteBindings::class,
|
'bindings' => SubstituteBindings::class,
|
||||||
'can' => Authorize::class,
|
'can' => Authorize::class,
|
||||||
'throttle' => ThrottleRequests::class
|
'throttle' => ThrottleRequests::class,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
namespace App\Providers;
|
namespace App\Providers;
|
||||||
|
|
||||||
use Illuminate\Support\ServiceProvider;
|
|
||||||
use Illuminate\Support\Facades\Broadcast;
|
use Illuminate\Support\Facades\Broadcast;
|
||||||
|
use Illuminate\Support\ServiceProvider;
|
||||||
|
|
||||||
class BroadcastServiceProvider extends ServiceProvider
|
class BroadcastServiceProvider extends ServiceProvider
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,6 @@ namespace App\Providers;
|
||||||
use App\Models\Album;
|
use App\Models\Album;
|
||||||
use App\Models\File;
|
use App\Models\File;
|
||||||
use App\Models\Song;
|
use App\Models\Song;
|
||||||
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
|
|
||||||
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
||||||
|
|
||||||
class EventServiceProvider extends ServiceProvider
|
class EventServiceProvider extends ServiceProvider
|
||||||
|
|
|
@ -25,6 +25,7 @@ class RouteServiceProvider extends ServiceProvider
|
||||||
{
|
{
|
||||||
parent::boot();
|
parent::boot();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Define the routes for the application.
|
* Define the routes for the application.
|
||||||
*
|
*
|
||||||
|
@ -36,6 +37,7 @@ class RouteServiceProvider extends ServiceProvider
|
||||||
$this->mapWebRoutes();
|
$this->mapWebRoutes();
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Define the "web" routes for the application.
|
* Define the "web" routes for the application.
|
||||||
*
|
*
|
||||||
|
@ -52,6 +54,7 @@ class RouteServiceProvider extends ServiceProvider
|
||||||
require base_path('routes/web.php');
|
require base_path('routes/web.php');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Define the "api" routes for the application.
|
* Define the "api" routes for the application.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue