Update (ui)
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
use Spatie\Feed\Feedable;
|
||||
use Spatie\Feed\FeedItem;
|
||||
|
||||
|
||||
/**
|
||||
* Class RssPost
|
||||
*
|
||||
@@ -74,12 +73,12 @@ public function category()
|
||||
|
||||
public function getAllKeywordsAttribute()
|
||||
{
|
||||
if (!is_empty($this->keyword_list))
|
||||
{
|
||||
return array_unique(explode(",",$this->keyword_list));
|
||||
}
|
||||
return [];
|
||||
|
||||
if (! is_empty($this->keyword_list)) {
|
||||
return array_unique(explode(',', $this->keyword_list));
|
||||
}
|
||||
|
||||
return [];
|
||||
|
||||
}
|
||||
|
||||
public function toFeedItem(): FeedItem
|
||||
|
||||
Reference in New Issue
Block a user