chore: code cleanup
This commit is contained in:
@@ -214,7 +214,7 @@ class Disposition implements BlameableEntityInterface, TimestampableEntityInterf
|
|||||||
|
|
||||||
$assignment = $this->getAssignment();
|
$assignment = $this->getAssignment();
|
||||||
$assignmentPeriod = $assignment->getEffectivePeriod();
|
$assignmentPeriod = $assignment->getEffectivePeriod();
|
||||||
$dueDateFrom = $this->getCreatedAt()->modify('+ 7days');
|
$dueDateFrom = $this->getCreatedAt()->modify('+7 days');
|
||||||
$dueDateTo = $assignmentPeriod->end->modify('-1 day');
|
$dueDateTo = $assignmentPeriod->end->modify('-1 day');
|
||||||
|
|
||||||
$period = CarbonPeriod::create($dueDateFrom, $dueDateTo);
|
$period = CarbonPeriod::create($dueDateFrom, $dueDateTo);
|
||||||
|
|||||||
Reference in New Issue
Block a user