Next major version 2 with PHP 8.1, Symfony 6, Tabler UI, 2FA ... (#2902)
This commit is contained in:
@@ -9,15 +9,10 @@
|
||||
|
||||
namespace App\Repository\Result;
|
||||
|
||||
class TimesheetResultStatistic
|
||||
final class TimesheetResultStatistic
|
||||
{
|
||||
private $count = 0;
|
||||
private $duration = 0;
|
||||
|
||||
public function __construct(int $count, int $duration)
|
||||
public function __construct(private int $count, private int $duration)
|
||||
{
|
||||
$this->count = $count;
|
||||
$this->duration = $duration;
|
||||
}
|
||||
|
||||
public function getCount(): int
|
||||
|
||||
Reference in New Issue
Block a user