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

+3 -5
View File
@@ -7,16 +7,14 @@ use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* Indicates whether the XSRF-TOKEN cookie should be set on the response.
*
* 是否在响应中设置XSRF-TOKEN cookie
* @var bool
*/
protected $addHttpCookie = true;
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
* 不需要CSRF验证的URI列表
* @var array<int, string>
*/
protected $except = [
//