Skip to content

Commit

Permalink
Close #293
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdebril committed Apr 7, 2021
1 parent 45cbcc7 commit e3aa4db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/FeedIo/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ public function read(string $url, FeedInterface $feed, DateTime $modifiedSince =
{
$this->logger->debug("start reading {$url}");
if (is_null($modifiedSince)) {
$this->logger->notice("no 'modifiedSince' parameter given, setting it to 01/01/1970");
$modifiedSince = new DateTime('1800-01-01');
}

Expand All @@ -92,7 +91,7 @@ public function handleResponse(ResponseInterface $response, FeedInterface $feed)
$document = new Document($response->getBody());

if ($response->isModified()) {
$this->logger->info("the stream is modified, parsing it");
$this->logger->debug("the stream is modified, parsing it");
$this->parseDocument($document, $feed);
}

Expand Down

0 comments on commit e3aa4db

Please sign in to comment.