Skip to content

Commit 631941c

Browse files
committed
add comment
1 parent cf04e30 commit 631941c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/FeedIo/Reader/Result/UpdateStats.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public function __construct(
4242
) {
4343
$dates = $this->extractDates($feed);
4444
if (count($dates) > 0) {
45+
// get the most recent item date that is not in the future
4546
$this->newestItemDate = min(max($dates), time());
4647
} else {
4748
$this->newestItemDate = $this->getFeedTimestamp();

0 commit comments

Comments
 (0)