Skip to content

Commit

Permalink
Update lib/Api/Rss.php
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Walther <[email protected]>
  • Loading branch information
christophboecker and alxndr-w authored Aug 22, 2024
1 parent e7d2622 commit 6220f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Api/Rss.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static function joinUrls(string $url1, string $url2): string
* @param rex_yform_manager_collection<Entry> $collection
* @api
*/
public static function createRssFeed(rex_yform_manager_collection $collection, string $domain, int $lang, string $description, string $filename = 'rss.neues.xml'): string|bool
public static function createRssFeed(rex_yform_manager_collection $collection, int $domain_id, int $lang, string $description, string $filename = 'rss.neues.xml'): string|bool
{
$xml = new SimpleXMLElement('<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom"></rss>');

Expand Down

0 comments on commit 6220f0d

Please sign in to comment.