mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-03-14 20:39:44 +01:00
Use pluck rather than lists
This commit is contained in:
parent
651edcc7c5
commit
aec2ef0198
@ -53,7 +53,7 @@ class ComponentPresenter extends BasePresenter implements Arrayable
|
||||
*/
|
||||
public function tags()
|
||||
{
|
||||
return $this->wrappedObject->tags->lists('name', 'slug');
|
||||
return $this->wrappedObject->tags->pluck('name', 'slug');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user