[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

@@ -9,7 +9,7 @@ class EncryptCookies extends Middleware
/**
* The names of the cookies that should not be encrypted.
*
* @var array
* @var string[]
*/
protected $except = [
//

View File

@@ -9,7 +9,7 @@ class PreventRequestsDuringMaintenance extends Middleware
/**
* The URIs that should be reachable while maintenance mode is enabled.
*
* @var array
* @var string[]
*/
protected $except = [
//

View File

@@ -9,7 +9,7 @@ class TrimStrings extends Middleware
/**
* The names of the attributes that should not be trimmed.
*
* @var array
* @var string[]
*/
protected $except = [
'current_password',

View File

@@ -9,7 +9,7 @@ class TrustHosts extends Middleware
/**
* Get the host patterns that should be trusted.
*
* @return array
* @return string[]
*/
public function hosts()
{

View File

@@ -10,7 +10,7 @@ class TrustProxies extends Middleware
/**
* The trusted proxies for this application.
*
* @var array|string|null
* @var string[]|string|null
*/
protected $proxies;

View File

@@ -9,7 +9,7 @@ class VerifyCsrfToken extends Middleware
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
* @var string[]
*/
protected $except = [
//