mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-18 05:58:18 +01:00
Fix Atom and RSSController docblocks.
This commit is contained in:
parent
d3554ec4f4
commit
4f09ce1f1b
@ -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
|
||||
|
@ -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
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user