forked from wallabag/wallabag
Replace continue; with break; to avoid PHP 7.3 warnings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
committed by
Jeremy Benoist
parent
a86c3f1759
commit
3784688a88
@ -158,13 +158,13 @@ abstract class BrowserImport extends AbstractImport
|
||||
|
||||
foreach ($entries as $importedEntry) {
|
||||
if ((array) $importedEntry !== $importedEntry) {
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
|
||||
$entry = $this->parseEntry($importedEntry);
|
||||
|
||||
if (null === $entry) {
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
|
||||
// @see AbstractImport
|
||||
@ -206,7 +206,7 @@ abstract class BrowserImport extends AbstractImport
|
||||
{
|
||||
foreach ($entries as $importedEntry) {
|
||||
if ((array) $importedEntry !== $importedEntry) {
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
|
||||
// set userId for the producer (it won't know which user is connected)
|
||||
|
||||
Reference in New Issue
Block a user