Revert "fix: resolve PHPStan static analysis warnings"
This reverts commit b885e644a8.
This commit is contained in:
1 parent
b885e644a8
commit
ea424ad0a8
84 files changed
+1190
-2330
No files matched your search
@@ -64,6 +64,12 @@ 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');
|
||||
|
||||
Reference in new issue
Block a user