ソースを参照

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.