rector code refactoring

This commit is contained in:
Anatoliy Poloz
2023-12-28 16:30:19 +03:00
parent 01376c9536
commit 0efb8536dd
22 changed files with 41 additions and 39 deletions

View File

@@ -53,7 +53,7 @@ class Kernel extends HttpKernel
*
* @var array<string, class-string|string>
*/
protected $routeMiddleware = [
protected $middlewareAliases = [
'auth' => \App\Http\Middleware\Authenticate::class,
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,