fix: resolve PHPStan static analysis warnings

This commit is contained in:
xboard committed 2025-04-14 02:12:42 +08:00
1 parent 9e2f46c688
commit b885e644a8
84 files changed
+2330 -1190

No files matched your search

+4 -4
View File
@@ -11,7 +11,7 @@ class Kernel extends HttpKernel
*
* These middleware are run during every request to your application.
*
* @var array
* @var array<int, class-string>
*/
protected $middleware = [
\Illuminate\Http\Middleware\HandleCors::class,
@@ -26,7 +26,7 @@ class Kernel extends HttpKernel
/**
* The application's route middleware groups.
*
* @var array
* @var array<string, array<int, class-string|string>>
*/
protected $middlewareGroups = [
'web' => [
@@ -57,7 +57,7 @@ class Kernel extends HttpKernel
*
* These middleware may be assigned to groups or used individually.
*
* @var array
* @var array<string, class-string>
*/
protected $middlewareAliases = [
'auth' => \App\Http\Middleware\Authenticate::class,
@@ -84,7 +84,7 @@ class Kernel extends HttpKernel
*
* This forces non-global middleware to always be in the given order.
*
* @var array
* @var array<class-string>
*/
protected $middlewarePriority = [
\Illuminate\Session\Middleware\StartSession::class,