aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Helper/ContentProxy.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper/ContentProxy.php')
-rw-r--r--src/Wallabag/CoreBundle/Helper/ContentProxy.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/ContentProxy.php b/src/Wallabag/CoreBundle/Helper/ContentProxy.php
index 5901df8b..9c6fa8db 100644
--- a/src/Wallabag/CoreBundle/Helper/ContentProxy.php
+++ b/src/Wallabag/CoreBundle/Helper/ContentProxy.php
@@ -86,7 +86,6 @@ class ContentProxy
86 /** 86 /**
87 * Use a Symfony validator to ensure the language is well formatted. 87 * Use a Symfony validator to ensure the language is well formatted.
88 * 88 *
89 * @param Entry $entry
90 * @param string $value Language to validate and save 89 * @param string $value Language to validate and save
91 */ 90 */
92 public function updateLanguage(Entry $entry, $value) 91 public function updateLanguage(Entry $entry, $value)
@@ -112,7 +111,6 @@ class ContentProxy
112 /** 111 /**
113 * Use a Symfony validator to ensure the preview picture is a real url. 112 * Use a Symfony validator to ensure the preview picture is a real url.
114 * 113 *
115 * @param Entry $entry
116 * @param string $value URL to validate and save 114 * @param string $value URL to validate and save
117 */ 115 */
118 public function updatePreviewPicture(Entry $entry, $value) 116 public function updatePreviewPicture(Entry $entry, $value)
@@ -134,7 +132,6 @@ class ContentProxy
134 /** 132 /**
135 * Update date. 133 * Update date.
136 * 134 *
137 * @param Entry $entry
138 * @param string $value Date to validate and save 135 * @param string $value Date to validate and save
139 */ 136 */
140 public function updatePublishedAt(Entry $entry, $value) 137 public function updatePublishedAt(Entry $entry, $value)
@@ -161,8 +158,6 @@ class ContentProxy
161 158
162 /** 159 /**
163 * Helper to extract and save host from entry url. 160 * Helper to extract and save host from entry url.
164 *
165 * @param Entry $entry
166 */ 161 */
167 public function setEntryDomainName(Entry $entry) 162 public function setEntryDomainName(Entry $entry)
168 { 163 {
@@ -176,8 +171,6 @@ class ContentProxy
176 * Helper to set a default title using: 171 * Helper to set a default title using:
177 * - url basename, if applicable 172 * - url basename, if applicable
178 * - hostname. 173 * - hostname.
179 *
180 * @param Entry $entry
181 */ 174 */
182 public function setDefaultEntryTitle(Entry $entry) 175 public function setDefaultEntryTitle(Entry $entry)
183 { 176 {
@@ -333,7 +326,6 @@ class ContentProxy
333 * Update the origin_url field when a redirection occurs 326 * Update the origin_url field when a redirection occurs
334 * This field is set if it is empty and new url does not match ignore list. 327 * This field is set if it is empty and new url does not match ignore list.
335 * 328 *
336 * @param Entry $entry
337 * @param string $url 329 * @param string $url
338 */ 330 */
339 private function updateOriginUrl(Entry $entry, $url) 331 private function updateOriginUrl(Entry $entry, $url)
@@ -441,8 +433,6 @@ class ContentProxy
441 /** 433 /**
442 * Validate that the given content has at least a title, an html and a url. 434 * Validate that the given content has at least a title, an html and a url.
443 * 435 *
444 * @param array $content
445 *
446 * @return bool true if valid otherwise false 436 * @return bool true if valid otherwise false
447 */ 437 */
448 private function validateContent(array $content) 438 private function validateContent(array $content)