We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e7d222 commit 896ac77Copy full SHA for 896ac77
src/FeedIo/Reader/Result/UpdateStats.php
@@ -182,7 +182,11 @@ public function getMedianInterval(): int
182
}
183
184
/**
185
- * @return int
+ * Returns the timestamp of the newest item in the feed.
186
+ * The value is capped at the current time to prevent future dates from being used.
187
+ * If the feed has no items with valid timestamps, returns the feed's last modified timestamp.
188
+ *
189
+ * @return int Unix timestamp of the newest item (in seconds since epoch)
190
*/
191
public function getNewestItemDate(): int
192
{
0 commit comments