Skip to content

Commit

Permalink
Ensure durection is cast to an int (#1270)
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Ullyott <kevin.ullyott@canyongbs.com>
  • Loading branch information
Orrison authored Jan 30, 2025
1 parent 844b733 commit 7eeeb2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function form(Form $form): Form
}

$set('end_datetime', Carbon::parse($startDateTime)
->addMinutes($duration)
->addMinutes((int) $duration)
->toDateTimeString());
};

Expand Down

0 comments on commit 7eeeb2d

Please sign in to comment.