mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
More phpstan issues fixed.
This commit is contained in:
@@ -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,
|
||||
|
@@ -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',
|
||||
|
Reference in New Issue
Block a user