Fix Atom and RSSController docblocks.

This commit is contained in:
James Brooks 2015-04-03 18:06:08 +01:00
parent d3554ec4f4
commit 4f09ce1f1b
2 changed files with 4 additions and 3 deletions

View File

@ -43,7 +43,7 @@ class AtomController extends AbstractController
/**
* Adds an item to the feed.
*
* @param \Thujohn\Rss\Rss $feed
* @param Roumen\Feed\Facades\Feed $feed
* @param \CachetHQ\Cachet\Models\Incident $incident
*
* @return void

View File

@ -3,6 +3,7 @@
namespace CachetHQ\Cachet\Http\Controllers;
use CachetHQ\Cachet\Facades\Setting;
use CachetHQ\Cachet\Models\ComponentGroup;
use CachetHQ\Cachet\Models\Incident;
use Illuminate\Support\Facades\Response;
use Roumen\Feed\Facades\Feed;
@ -43,7 +44,7 @@ class RssController extends AbstractController
/**
* Adds an item to the feed.
*
* @param \Thujohn\Rss\Rss $feed
* @param Roumen\Feed\Facades\Feed $feed
* @param \CachetHQ\Cachet\Models\Incident $incident
*
* @return void
@ -54,7 +55,7 @@ class RssController extends AbstractController
$incident->name,
Setting::get('app_name'),
Setting::get('app_domain'),
$incident->created_at->toAtomString(),
$incident->created_at->toRssString(),
$incident->message
);
}