summaryrefslogtreecommitdiffstats
path: root/utility/opmlexporter.php
diff options
context:
space:
mode:
Diffstat (limited to 'utility/opmlexporter.php')
-rw-r--r--utility/opmlexporter.php13
1 files changed, 8 insertions, 5 deletions
diff --git a/utility/opmlexporter.php b/utility/opmlexporter.php
index 2ac735746..8dfb996c6 100644
--- a/utility/opmlexporter.php
+++ b/utility/opmlexporter.php
@@ -17,11 +17,14 @@ namespace OCA\News\Utility;
* Exports the OPML
*/
class OPMLExporter {
-
- /**
- * Generates the OPML for the active user
- * @return the OPML as string
- */
+
+ /**
+ * Generates the OPML for the active user
+ *
+ * @param Folder[] $folders
+ * @param Feed[] $feeds
+ * @return \DomDocument the document
+ */
public function build($folders, $feeds){
$document = new \DomDocument('1.0', 'UTF-8');
$document->formatOutput = true;