1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-11 19:14:09 +02:00

refactor: deprecate FeedItem constructor (#4201)

* fix: bug in prior commit

* refactor: deprecate FeedItem constructor

* test: fix
This commit is contained in:
Dag
2024-08-08 03:43:26 +02:00
committed by GitHub
parent 2a96bf19b5
commit 6afd13eb06
11 changed files with 78 additions and 114 deletions

View File

@@ -477,7 +477,7 @@ class NintendoBridge extends XPathAbstract
return $date->getTimestamp();
}
protected function generateItemId(FeedItem $item)
protected function generateItemId(array $item)
{
return $this->getCurrentCategory() . '-' . $this->lastId;
}