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/CoreBundle/Helper/DownloadImages.php | |
parent | 5c331bf0f9ef679aaf91ef29b13120272fcccbf5 (diff) | |
download | wallabag-ceddccb736d7c82ffae068df4d9f334a48aff2f4.tar.gz wallabag-ceddccb736d7c82ffae068df4d9f334a48aff2f4.tar.zst wallabag-ceddccb736d7c82ffae068df4d9f334a48aff2f4.zip |
Replace continue; with break; to avoid PHP 7.3 warningsphp73
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper/DownloadImages.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Helper/DownloadImages.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/DownloadImages.php b/src/Wallabag/CoreBundle/Helper/DownloadImages.php index cc3dcfce..8c1c208f 100644 --- a/src/Wallabag/CoreBundle/Helper/DownloadImages.php +++ b/src/Wallabag/CoreBundle/Helper/DownloadImages.php | |||
@@ -56,7 +56,7 @@ class DownloadImages | |||
56 | $imagePath = $this->processSingleImage($entryId, $image, $url, $relativePath); | 56 | $imagePath = $this->processSingleImage($entryId, $image, $url, $relativePath); |
57 | 57 | ||
58 | if (false === $imagePath) { | 58 | if (false === $imagePath) { |
59 | continue; | 59 | break; |
60 | } | 60 | } |
61 | 61 | ||
62 | // if image contains "&" and we can't find it in the html it might be because it's encoded as & | 62 | // if image contains "&" and we can't find it in the html it might be because it's encoded as & |