Next major version 2 with PHP 8.1, Symfony 6, Tabler UI, 2FA ... (#2902)
This commit is contained in:
@@ -17,14 +17,8 @@ use Symfony\Contracts\EventDispatcher\Event;
|
||||
*/
|
||||
abstract class AbstractTimesheetEvent extends Event
|
||||
{
|
||||
/**
|
||||
* @var Timesheet
|
||||
*/
|
||||
private $timesheet;
|
||||
|
||||
public function __construct(Timesheet $timesheet)
|
||||
public function __construct(private Timesheet $timesheet)
|
||||
{
|
||||
$this->timesheet = $timesheet;
|
||||
}
|
||||
|
||||
public function getTimesheet(): Timesheet
|
||||
|
||||
Reference in New Issue
Block a user