diff options
author | Thomas Citharel <tcit@tcit.fr> | 2019-01-12 13:09:36 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2019-01-12 13:09:36 +0100 |
commit | ceddccb736d7c82ffae068df4d9f334a48aff2f4 (patch) | |
tree | f079612ca9b3bde8189c8152da0742e63da9bfdc /src/Wallabag/ImportBundle/Import/BrowserImport.php | |
parent | 5c331bf0f9ef679aaf91ef29b13120272fcccbf5 (diff) | |
download | wallabag-php73.tar.gz wallabag-php73.tar.zst wallabag-php73.zip |
Replace continue; with break; to avoid PHP 7.3 warningsphp73
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'src/Wallabag/ImportBundle/Import/BrowserImport.php')
-rw-r--r-- | src/Wallabag/ImportBundle/Import/BrowserImport.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/ImportBundle/Import/BrowserImport.php b/src/Wallabag/ImportBundle/Import/BrowserImport.php index 614386cb..b55525e5 100644 --- a/src/Wallabag/ImportBundle/Import/BrowserImport.php +++ b/src/Wallabag/ImportBundle/Import/BrowserImport.php | |||
@@ -158,13 +158,13 @@ abstract class BrowserImport extends AbstractImport | |||
158 | 158 | ||
159 | foreach ($entries as $importedEntry) { | 159 | foreach ($entries as $importedEntry) { |
160 | if ((array) $importedEntry !== $importedEntry) { | 160 | if ((array) $importedEntry !== $importedEntry) { |
161 | continue; | 161 | break; |
162 | } | 162 | } |
163 | 163 | ||
164 | $entry = $this->parseEntry($importedEntry); | 164 | $entry = $this->parseEntry($importedEntry); |
165 | 165 | ||
166 | if (null === $entry) { | 166 | if (null === $entry) { |
167 | continue; | 167 | break; |
168 | } | 168 | } |
169 | 169 | ||
170 | // @see AbstractImport | 170 | // @see AbstractImport |
@@ -206,7 +206,7 @@ abstract class BrowserImport extends AbstractImport | |||
206 | { | 206 | { |
207 | foreach ($entries as $importedEntry) { | 207 | foreach ($entries as $importedEntry) { |
208 | if ((array) $importedEntry !== $importedEntry) { | 208 | if ((array) $importedEntry !== $importedEntry) { |
209 | continue; | 209 | break; |
210 | } | 210 | } |
211 | 211 | ||
212 | // set userId for the producer (it won't know which user is connected) | 212 | // set userId for the producer (it won't know which user is connected) |