diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Event/Subscriber')
3 files changed, 0 insertions, 16 deletions
diff --git a/src/Wallabag/CoreBundle/Event/Subscriber/CustomDoctrineORMSubscriber.php b/src/Wallabag/CoreBundle/Event/Subscriber/CustomDoctrineORMSubscriber.php index cabb3eca..b8f6e1d6 100644 --- a/src/Wallabag/CoreBundle/Event/Subscriber/CustomDoctrineORMSubscriber.php +++ b/src/Wallabag/CoreBundle/Event/Subscriber/CustomDoctrineORMSubscriber.php | |||
@@ -12,9 +12,6 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |||
12 | */ | 12 | */ |
13 | class CustomDoctrineORMSubscriber extends DoctrineORMSubscriber implements EventSubscriberInterface | 13 | class CustomDoctrineORMSubscriber extends DoctrineORMSubscriber implements EventSubscriberInterface |
14 | { | 14 | { |
15 | /** | ||
16 | * @param GetFilterConditionEvent $event | ||
17 | */ | ||
18 | public function filterDateRange(GetFilterConditionEvent $event) | 15 | public function filterDateRange(GetFilterConditionEvent $event) |
19 | { | 16 | { |
20 | $expr = $event->getFilterQuery()->getExpressionBuilder(); | 17 | $expr = $event->getFilterQuery()->getExpressionBuilder(); |
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) |
diff --git a/src/Wallabag/CoreBundle/Event/Subscriber/SQLiteCascadeDeleteSubscriber.php b/src/Wallabag/CoreBundle/Event/Subscriber/SQLiteCascadeDeleteSubscriber.php index 9c1d8a1d..dcadeedf 100644 --- a/src/Wallabag/CoreBundle/Event/Subscriber/SQLiteCascadeDeleteSubscriber.php +++ b/src/Wallabag/CoreBundle/Event/Subscriber/SQLiteCascadeDeleteSubscriber.php | |||
@@ -18,9 +18,6 @@ class SQLiteCascadeDeleteSubscriber implements EventSubscriber | |||
18 | { | 18 | { |
19 | private $doctrine; | 19 | private $doctrine; |
20 | 20 | ||
21 | /** | ||
22 | * @param \Doctrine\Bundle\DoctrineBundle\Registry $doctrine | ||
23 | */ | ||
24 | public function __construct(Registry $doctrine) | 21 | public function __construct(Registry $doctrine) |
25 | { | 22 | { |
26 | $this->doctrine = $doctrine; | 23 | $this->doctrine = $doctrine; |
@@ -39,8 +36,6 @@ class SQLiteCascadeDeleteSubscriber implements EventSubscriber | |||
39 | /** | 36 | /** |
40 | * We removed everything related to the upcoming removed entry because SQLite can't handle it on it own. | 37 | * We removed everything related to the upcoming removed entry because SQLite can't handle it on it own. |
41 | * We do it in the preRemove, because we can't retrieve tags in the postRemove (because the entry id is gone). | 38 | * We do it in the preRemove, because we can't retrieve tags in the postRemove (because the entry id is gone). |
42 | * | ||
43 | * @param LifecycleEventArgs $args | ||
44 | */ | 39 | */ |
45 | public function preRemove(LifecycleEventArgs $args) | 40 | public function preRemove(LifecycleEventArgs $args) |
46 | { | 41 | { |