[8.x] Add types to arrays in boilerplate (#5738)

* Add more specific types

* Update Authenticate.php

* Update Authenticate.php
This commit is contained in:
Bram
2021-12-02 21:40:24 +01:00
committed by GitHub
parent e35899f0aa
commit 7bf32280e2
9 changed files with 11 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ class Kernel extends HttpKernel
*
* These middleware are run during every request to your application.
*
* @var array
* @var string[]
*/
protected $middleware = [
// \App\Http\Middleware\TrustHosts::class,
@@ -26,7 +26,7 @@ class Kernel extends HttpKernel
/**
* The application's route middleware groups.
*
* @var array
* @var array<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
* @var array<string, string>
*/
protected $routeMiddleware = [
'auth' => \App\Http\Middleware\Authenticate::class,