More phpstan issues fixed.

This commit is contained in:
James Cole
2023-11-05 09:54:53 +01:00
parent 1b978d41e0
commit 2d5790c417
73 changed files with 142 additions and 574 deletions

View File

@@ -59,11 +59,6 @@ use PragmaRX\Google2FALaravel\Middleware as MFAMiddleware;
*/
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* @var array
*/
protected $middleware
= [
SecureHeaders::class,
@@ -74,13 +69,6 @@ class Kernel extends HttpKernel
TrustProxies::class,
InstallationId::class,
];
/**
* The application's route middleware.
*
* These middleware may be assigned to groups or used individually.
*
* @var array
*/
protected $middlewareAliases
= [
'auth' => Authenticate::class,
@@ -90,11 +78,6 @@ class Kernel extends HttpKernel
'guest' => RedirectIfAuthenticated::class,
'throttle' => ThrottleRequests::class,
];
/**
* The application's route middleware groups.
*
* @var array
*/
protected $middlewareGroups
= [
// does not check login
@@ -206,13 +189,6 @@ class Kernel extends HttpKernel
'bindings',
],
];
/**
* The priority-sorted list of middleware.
*
* This forces non-global middleware to always be in the given order.
*
* @var array
*/
protected $middlewarePriority
= [
StartFireflySession::class,

View File

@@ -32,11 +32,6 @@ use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
*/
class TrimStrings extends Middleware
{
/**
* The names of the attributes that should not be trimmed.
*
* @var array
*/
protected $except
= [
'password',