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

@@ -64,12 +64,6 @@ class ConfigController extends Controller
return $this->success(true);
}
private function getTemplateContent(string $filename): string
{
$path = resource_path("rules/{$filename}");
return File::exists($path) ? File::get($path) : '';
}
public function fetch(Request $request)
{
$key = $request->input('key');