refactor(ScheduledTask): clean up code formatting and remove unused import

This commit is contained in:
Andras Bacsai
2025-03-14 16:11:41 +01:00
parent 282bb5c4cd
commit 798aab6955
3 changed files with 2 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ class Add extends Component
public function saveScheduledTask()
{
try {
$task = new ScheduledTask();
$task = new ScheduledTask;
$task->name = $this->name;
$task->command = $this->command;
$task->frequency = $this->frequency;