Release 2.0.32 (#4256)

This commit is contained in:
Kevin Papst
2023-08-31 15:33:53 +02:00
committed by GitHub
parent 452de88e18
commit 31348da4c0
42 changed files with 412 additions and 130 deletions

View File

@@ -13,15 +13,9 @@ use App\Entity\Timesheet;
final class TimesheetDuplicatePreEvent extends AbstractTimesheetEvent
{
/**
* @var Timesheet
*/
private $original;
public function __construct(Timesheet $new, Timesheet $original)
public function __construct(Timesheet $new, private Timesheet $original)
{
parent::__construct($new);
$this->original = $original;
}
public function getOriginalTimesheet(): Timesheet