summaryrefslogtreecommitdiffstats
path: root/lib/Utility/OPMLExporter.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Utility/OPMLExporter.php')
-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());