changes
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Containers\Dashboard\Actions\Schedules;
|
||||
|
||||
use App\Containers\Schedule\Models\Schedule;
|
||||
|
||||
class UpdateScheduleAction
|
||||
{
|
||||
public function run(Schedule $schedule, array $data): Schedule
|
||||
{
|
||||
$schedule->update($data);
|
||||
return $schedule->fresh();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user