Improves generic types on the skeleton (#5740)

This commit is contained in:
Nuno Maduro
2021-12-03 15:04:57 +00:00
committed by GitHub
parent 7bf32280e2
commit 8a62ca2633
12 changed files with 18 additions and 18 deletions

View File

@@ -11,7 +11,7 @@ class Kernel extends HttpKernel
*
* These middleware are run during every request to your application.
*
* @var string[]
* @var array<int, class-string|string>
*/
protected $middleware = [
// \App\Http\Middleware\TrustHosts::class,
@@ -26,7 +26,7 @@ class Kernel extends HttpKernel
/**
* The application's route middleware groups.
*
* @var array<string, string[]>
* @var array<string, array<int, class-string|string>>
*/
protected $middlewareGroups = [
'web' => [
@@ -51,7 +51,7 @@ class Kernel extends HttpKernel
*
* These middleware may be assigned to groups or used individually.
*
* @var array<string, string>
* @var array<string, class-string|string>
*/
protected $routeMiddleware = [
'auth' => \App\Http\Middleware\Authenticate::class,