Selaa lähdekoodia

Merge pull request #372 from jfcherng/fix-php73

Fix PHP 7.3 warning: "continue" targeting switch is equivalent to "break"
walkor 7 vuotta sitten
vanhempi
commit
3e564e29bf
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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.