aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Event/Subscriber/DownloadImagesSubscriber.php
diff options
context:
space:
mode:
authorlizyn <zhiylin@outlook.com>2020-02-24 10:04:13 +0800
committerGitHub <noreply@github.com>2020-02-24 10:04:13 +0800
commitb19df31d78d881a43bcf6b3215e5fc3781e8e8aa (patch)
treed0d9861694a4b5e5fbfdbeb53c255ecd15fe9328 /src/Wallabag/CoreBundle/Event/Subscriber/DownloadImagesSubscriber.php
parent4d0c632c70ea50d459c3c55ddda2e0f394dd51cb (diff)
parent04d918cae0227c06a41d27fb6533dddbf30dfe71 (diff)
downloadwallabag-b19df31d78d881a43bcf6b3215e5fc3781e8e8aa.tar.gz
wallabag-b19df31d78d881a43bcf6b3215e5fc3781e8e8aa.tar.zst
wallabag-b19df31d78d881a43bcf6b3215e5fc3781e8e8aa.zip
Merge pull request #1 from wallabag/master
Keep up with the master again
Diffstat (limited to 'src/Wallabag/CoreBundle/Event/Subscriber/DownloadImagesSubscriber.php')
-rw-r--r--src/Wallabag/CoreBundle/Event/Subscriber/DownloadImagesSubscriber.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/Wallabag/CoreBundle/Event/Subscriber/DownloadImagesSubscriber.php b/src/Wallabag/CoreBundle/Event/Subscriber/DownloadImagesSubscriber.php
index 1dd0a1a4..ef8d7d3b 100644
--- a/src/Wallabag/CoreBundle/Event/Subscriber/DownloadImagesSubscriber.php
+++ b/src/Wallabag/CoreBundle/Event/Subscriber/DownloadImagesSubscriber.php
@@ -35,8 +35,6 @@ class DownloadImagesSubscriber implements EventSubscriberInterface
35 35
36 /** 36 /**
37 * Download images and updated the data into the entry. 37 * Download images and updated the data into the entry.
38 *
39 * @param EntrySavedEvent $event
40 */ 38 */
41 public function onEntrySaved(EntrySavedEvent $event) 39 public function onEntrySaved(EntrySavedEvent $event)
42 { 40 {
@@ -69,8 +67,6 @@ class DownloadImagesSubscriber implements EventSubscriberInterface
69 67
70 /** 68 /**
71 * Remove images related to the entry. 69 * Remove images related to the entry.
72 *
73 * @param EntryDeletedEvent $event
74 */ 70 */
75 public function onEntryDeleted(EntryDeletedEvent $event) 71 public function onEntryDeleted(EntryDeletedEvent $event)
76 { 72 {
@@ -88,8 +84,6 @@ class DownloadImagesSubscriber implements EventSubscriberInterface
88 * 84 *
89 * @todo If we want to add async download, it should be done in that method 85 * @todo If we want to add async download, it should be done in that method
90 * 86 *
91 * @param Entry $entry
92 *
93 * @return string|false False in case of async 87 * @return string|false False in case of async
94 */ 88 */
95 private function downloadImages(Entry $entry) 89 private function downloadImages(Entry $entry)
@@ -106,8 +100,6 @@ class DownloadImagesSubscriber implements EventSubscriberInterface
106 * 100 *
107 * @todo If we want to add async download, it should be done in that method 101 * @todo If we want to add async download, it should be done in that method
108 * 102 *
109 * @param Entry $entry
110 *
111 * @return string|false False in case of async 103 * @return string|false False in case of async
112 */ 104 */
113 private function downloadPreviewImage(Entry $entry) 105 private function downloadPreviewImage(Entry $entry)