Passed
Push — main ( 4b0048...d1a7c8 )
by YeBeKhe
02:21
created
modules/singbox.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,9 @@
 block discarded – undo
101 101
             "max_early_data" => $pathProcess['max_early_data'],
102 102
             "early_data_header_name" => "Sec-WebSocket-Protocol",
103 103
         ];
104
-        if ($configResult["transport"]["headers"]["Host"] === "") return null;
104
+        if ($configResult["transport"]["headers"]["Host"] === "") {
105
+            return null;
106
+        }
105 107
     } elseif ($decode_vmess["net"] === "grpc") {
106 108
         $configResult["transport"] = [
107 109
             "type" => $decode_vmess["net"],
Please login to merge, or discard this patch.