Release 2.0.18 (#4003)
* prevent too long values for user preferences * add chart value 0 to y-axis if last value > 0, to always display the zero line (project details) * add user-preferences to invoice hydrator * DateTime vs DateTimeInterface * simplify permission config * fix query for teamleads limiting to only selected teams not possible
This commit is contained in:
@@ -13,20 +13,17 @@ use App\Entity\Team;
|
||||
|
||||
abstract class AbstractUserList
|
||||
{
|
||||
private $date;
|
||||
private $decimal = false;
|
||||
private $sumType = 'duration';
|
||||
/**
|
||||
* @var Team|null
|
||||
*/
|
||||
private $team = null;
|
||||
private ?\DateTimeInterface $date = null;
|
||||
private bool $decimal = false;
|
||||
private string $sumType = 'duration';
|
||||
private ?Team $team = null;
|
||||
|
||||
public function getDate(): ?\DateTime
|
||||
public function getDate(): ?\DateTimeInterface
|
||||
{
|
||||
return $this->date;
|
||||
}
|
||||
|
||||
public function setDate(\DateTime $date): void
|
||||
public function setDate(\DateTimeInterface $date): void
|
||||
{
|
||||
$this->date = $date;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user