Aesthetic Fixes
This commit is contained in:
@@ -43,6 +43,11 @@ class ProjectMilestone extends Model
|
||||
return $this->belongsTo(Project::class);
|
||||
}
|
||||
|
||||
public function tasks(): \Illuminate\Database\Eloquent\Relations\HasMany
|
||||
{
|
||||
return $this->hasMany(Task::class, 'milestone_id');
|
||||
}
|
||||
|
||||
// --- Accessors ---
|
||||
|
||||
public function getIsCompletedAttribute(): bool
|
||||
|
||||
Reference in New Issue
Block a user