Skip to content

Commit

Permalink
Merge pull request #85 from alexdebril/issue/84
Browse files Browse the repository at this point in the history
Fix #84
  • Loading branch information
alexdebril authored May 26, 2017
2 parents 0f4f841 + 60c0051 commit a02d6c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/FeedIo/FeedIo.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ public function read($url, FeedInterface $feed = null, \DateTime $modifiedSince
$this->addFilter(new ModifiedSince($modifiedSince));
}

$this->logAction($feed, "read access : $url into a %s instance");
$this->logAction($feed, "read access : $url into a feed instance");
$result = $this->reader->read($url, $feed, $modifiedSince);

$this->fixerSet->correct($result->getFeed());
Expand Down Expand Up @@ -293,7 +293,7 @@ public function resetFilters()
*/
public function format(FeedInterface $feed, $standard)
{
$this->logAction($feed, "formatting a %s in $standard format");
$this->logAction($feed, "formatting a feed in $standard format");

$formatter = new Formatter($this->getStandard($standard), $this->logger);

Expand Down Expand Up @@ -341,7 +341,7 @@ public function getStandard($name)
protected function logAction(FeedInterface $feed, $message)
{
$class = get_class($feed);
$this->logger->debug(sprintf($message, $class));
$this->logger->debug("$message (feed class : $class)");

return $this;
}
Expand Down

0 comments on commit a02d6c6

Please sign in to comment.