/** * @return Collection */ public function get() : Collection { /** @var Collection $tags */ $tags = $this->user->tags()->get(); $tags = $tags->sortBy(function (Tag $tag) { return strtolower($tag->tag); }); return $tags; }