This commit is contained in:
@@ -82,13 +82,13 @@ class Home extends Model implements Feedable
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function toFeedItem()
|
||||
public function toFeedItem(): FeedItem
|
||||
{
|
||||
return FeedItem::create()
|
||||
->id($this->id)
|
||||
->title($this->title)
|
||||
->summary($this->excerpt())
|
||||
->author('Shikiryu')
|
||||
->authorName('Shikiryu')
|
||||
->updated($this->created_at)
|
||||
->link(\route('public.view', ['slug' => $this->slug]))
|
||||
;
|
||||
|
Reference in New Issue
Block a user