summaryrefslogtreecommitdiffstats
path: root/lib/Utility
diff options
context:
space:
mode:
authorDaniel Opitz <git@copynpaste.de>2018-08-30 00:20:16 +0200
committerDaniel Opitz <git@copynpaste.de>2018-09-28 23:24:10 +0200
commit2aabd8fd1f9bdee0060b685e883716287db393c5 (patch)
treee57d2fee6f2b12b51e0426854d17d68c0d11cab9 /lib/Utility
parent159986553bc2db967da2c5fe99949697a46489fe (diff)
fixed feed tests
Diffstat (limited to 'lib/Utility')
-rw-r--r--lib/Utility/OPMLExporter.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/Utility/OPMLExporter.php b/lib/Utility/OPMLExporter.php
index 695eeac0b..19bb76ad7 100644
--- a/lib/Utility/OPMLExporter.php
+++ b/lib/Utility/OPMLExporter.php
@@ -13,6 +13,8 @@
namespace OCA\News\Utility;
+use OCA\News\Db\Feed;
+
/**
* Exports the OPML
*/
@@ -77,8 +79,12 @@ class OPMLExporter
return $document;
}
-
- protected function createFeedOutline($feed, $document)
+ /**
+ * @param Feed $feed
+ * @param \DOMDocument $document
+ * @return \DOMElement
+ */
+ protected function createFeedOutline($feed, $document)
{
$feedOutline = $document->createElement('outline');
$feedOutline->setAttribute('title', $feed->getTitle());