fix: resolve PHPStan static analysis warnings

This commit is contained in:
xboard committed 2025-05-07 19:48:19 +08:00
1 parent ea424ad0a8
commit 4845ff0739
86 files changed
+2335 -1206

No files matched your search

+2 -2
View File
@@ -16,7 +16,7 @@ class Handler extends ExceptionHandler
/**
* A list of the exception types that are not reported.
*
* @var array
* @var array<int, class-string<Throwable>>
*/
protected $dontReport = [
ApiException::class,
@@ -26,7 +26,7 @@ class Handler extends ExceptionHandler
/**
* A list of the inputs that are never flashed for validation exceptions.
*
* @var array
* @var array<int, string>
*/
protected $dontFlash = [
'password',