Fix styling

This commit is contained in:
Thijmen authored and github-actions[bot] committed 2024-06-10 20:43:34 +00:00
1 parent 41fb6a1fc9
commit d86274cc37
429 files changed
+5307 -2831

No files matched your search

+4 -2
View File
@@ -8,7 +8,6 @@ class Tag extends BaseModel
{
protected $guarded = [];
public function name(): Attribute
{
return Attribute::make(
@@ -16,14 +15,17 @@ class Tag extends BaseModel
set: fn ($value) => strtolower($value)
);
}
static public function ownedByCurrentTeam()
public static function ownedByCurrentTeam()
{
return Tag::whereTeamId(currentTeam()->id)->orderBy('name');
}
public function applications()
{
return $this->morphedByMany(Application::class, 'taggable');
}
public function services()
{
return $this->morphedByMany(Service::class, 'taggable');