Revert "fix: resolve PHPStan static analysis warnings"

This reverts commit b885e644a8.
This commit is contained in:
xboard committed 2025-04-14 21:23:08 +08:00
1 parent b885e644a8
commit ea424ad0a8
84 files changed
+1190 -2330

No files matched your search

+1 -13
View File
@@ -54,19 +54,7 @@ class ServerSave extends FormRequest
'reality_settings.short_id' => 'nullable|string',
],
'socks' => [
],
'naive' => [
'tls' => 'required|integer',
'tls_settings' => 'nullable|array',
],
'http' => [
'tls' => 'required|integer',
'tls_settings' => 'nullable|array',
],
'mieru' => [
'transport' => 'required|string',
'multiplexing' => 'required|string',
],
]
];
private function getBaseRules(): array