Skip to content

Commit

Permalink
Fix type hint.
Browse files Browse the repository at this point in the history
  • Loading branch information
suin committed Nov 4, 2017
1 parent a12796d commit 523bf37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Suin/RSSWriter/Channel.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Channel implements ChannelInterface
/** @var string */
protected $url;

/** @var feedUrl */
/** @var string */
protected $feedUrl;

/** @var string */
Expand Down Expand Up @@ -226,7 +226,7 @@ public function asXML()
$feedUrl->addAttribute('rel', 'self');
$feedUrl->addAttribute('href', $this->pubsubhubbub['feedUrl']);
$feedUrl->addAttribute('type', 'application/rss+xml');

$hubUrl = $xml->addChild('xmlns:atom:link');
$hubUrl->addAttribute('rel', 'hub');
$hubUrl->addAttribute('href', $this->pubsubhubbub['hubUrl']);
Expand Down

0 comments on commit 523bf37

Please sign in to comment.