diff options
author | Thomas Citharel <tcit@tcit.fr> | 2019-01-12 13:09:36 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-02-27 14:29:14 +0100 |
commit | 3784688a88230d9c3aec4ca518be52ea1c70aeb9 (patch) | |
tree | e0bf2cec861ac74ec5e1e4ef482e0506087a545c /src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php | |
parent | a86c3f1759a3c0ecbf095888789c2a08d71b5c09 (diff) | |
download | wallabag-3784688a88230d9c3aec4ca518be52ea1c70aeb9.tar.gz wallabag-3784688a88230d9c3aec4ca518be52ea1c70aeb9.tar.zst wallabag-3784688a88230d9c3aec4ca518be52ea1c70aeb9.zip |
Replace continue; with break; to avoid PHP 7.3 warnings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php b/src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php index fbdf2ac7..d156df84 100644 --- a/src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php +++ b/src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php | |||
@@ -37,7 +37,7 @@ class RuleBasedTagger | |||
37 | 37 | ||
38 | foreach ($rules as $rule) { | 38 | foreach ($rules as $rule) { |
39 | if (!$this->rulerz->satisfies($entry, $rule->getRule())) { | 39 | if (!$this->rulerz->satisfies($entry, $rule->getRule())) { |
40 | continue; | 40 | break; |
41 | } | 41 | } |
42 | 42 | ||
43 | $this->logger->info('Matching rule.', [ | 43 | $this->logger->info('Matching rule.', [ |