浏览代码

Merge pull request #372 from jfcherng/fix-php73

Fix PHP 7.3 warning: "continue" targeting switch is equivalent to "break"
walkor 7 年之前
父节点
当前提交
3e564e29bf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Protocols/Http.php

+ 1 - 1
Protocols/Http.php

@@ -565,7 +565,7 @@ class Http
                                 'file_data' => $boundary_value,
                                 'file_size' => strlen($boundary_value),
                             );
-                            continue;
+                            continue 2;
                         } // Is post field.
                         else {
                             // Parse $_POST.