]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Event/Subscriber/DownloadImagesSubscriber.php
Merge pull request #4151 from ldidry/fix-4060
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Event / Subscriber / DownloadImagesSubscriber.php
index 4ebe837b69ec56fd5ba4de21e0a2054e79647650..ef8d7d3bcf9bd9361947d2ac745969e2e11d37da 100644 (file)
@@ -2,13 +2,13 @@
 
 namespace Wallabag\CoreBundle\Event\Subscriber;
 
-use Symfony\Component\EventDispatcher\EventSubscriberInterface;
+use Doctrine\ORM\EntityManager;
 use Psr\Log\LoggerInterface;
-use Wallabag\CoreBundle\Helper\DownloadImages;
+use Symfony\Component\EventDispatcher\EventSubscriberInterface;
 use Wallabag\CoreBundle\Entity\Entry;
-use Wallabag\CoreBundle\Event\EntrySavedEvent;
 use Wallabag\CoreBundle\Event\EntryDeletedEvent;
-use Doctrine\ORM\EntityManager;
+use Wallabag\CoreBundle\Event\EntrySavedEvent;
+use Wallabag\CoreBundle\Helper\DownloadImages;
 
 class DownloadImagesSubscriber implements EventSubscriberInterface
 {
@@ -35,8 +35,6 @@ class DownloadImagesSubscriber implements EventSubscriberInterface
 
     /**
      * Download images and updated the data into the entry.
-     *
-     * @param EntrySavedEvent $event
      */
     public function onEntrySaved(EntrySavedEvent $event)
     {
@@ -69,8 +67,6 @@ class DownloadImagesSubscriber implements EventSubscriberInterface
 
     /**
      * Remove images related to the entry.
-     *
-     * @param EntryDeletedEvent $event
      */
     public function onEntryDeleted(EntryDeletedEvent $event)
     {
@@ -88,8 +84,6 @@ class DownloadImagesSubscriber implements EventSubscriberInterface
      *
      * @todo If we want to add async download, it should be done in that method
      *
-     * @param Entry $entry
-     *
      * @return string|false False in case of async
      */
     private function downloadImages(Entry $entry)
@@ -106,8 +100,6 @@ class DownloadImagesSubscriber implements EventSubscriberInterface
      *
      * @todo If we want to add async download, it should be done in that method
      *
-     * @param Entry $entry
-     *
      * @return string|false False in case of async
      */
     private function downloadPreviewImage(Entry $entry)