Fix: Handle null content in PlanResource::formatContent method
- Fix deprecated warning when passing null to str_replace() function\n- Use null coalescing operator to provide empty string as default value\n- Comply with PHP 8.2+ type requirements
This commit is contained in:
1 parent
bea2c5ed03
commit
7d5ef44e9f
5 files changed
+10
-3
No files matched your search
@@ -27,6 +27,7 @@ class ClientController extends Controller
|
||||
'vmess' => '[vmess]',
|
||||
'trojan' => '[trojan]',
|
||||
'tuic' => '[tuic]',
|
||||
'socks' => '[socks]',
|
||||
];
|
||||
|
||||
// 支持hy2 的客户端版本列表
|
||||
|
||||
Reference in new issue
Block a user