Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Winkler <github@lw1.at>2018-11-01 15:52:48 +0300
committerStefan Giehl <stefan@piwik.org>2018-11-01 15:52:48 +0300
commit905d2ee106c2371a62d350d5b1ae243867d09d25 (patch)
treee695cd74478e544ac90705824a36cda2b9fb0aa6 /plugins/LanguagesManager
parent5aed978ed284d81cd8e046498588b17d0592d3e0 (diff)
fix switch continue in CreatePull (#13635)
* fix switch return in CreatePull * use continue 2 instead
Diffstat (limited to 'plugins/LanguagesManager')
-rw-r--r--plugins/LanguagesManager/Commands/CreatePull.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/LanguagesManager/Commands/CreatePull.php b/plugins/LanguagesManager/Commands/CreatePull.php
index 0454f31081..b5e908d4df 100644
--- a/plugins/LanguagesManager/Commands/CreatePull.php
+++ b/plugins/LanguagesManager/Commands/CreatePull.php
@@ -214,7 +214,7 @@ class CreatePull extends TranslationBase
switch ($returnCode) {
case 401:
$output->writeln("Pull request failed. Bad credentials... Please try again");
- continue;
+ continue 2;
case 422:
$output->writeln("Pull request failed. Unprocessable Entity. Maybe a pull request was already created before.");