Update (ui)

This commit is contained in:
2023-11-21 22:17:18 +08:00
parent 4827130183
commit 028c9b5190
29 changed files with 193 additions and 159 deletions

View File

@@ -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