added avatars, show user teams in list, new team dashboard widgets (#1150)

This commit is contained in:
Kevin Papst
2019-10-03 13:44:16 +02:00
committed by GitHub
parent 718ad4b398
commit e8c25d8ac5
120 changed files with 2585 additions and 642 deletions

View File

@@ -246,10 +246,10 @@ class Timesheet implements EntityWithMetaFields, InvoiceItemInterface
}
/**
* @param int $duration
* @param int|null $duration
* @return Timesheet
*/
public function setDuration($duration): Timesheet
public function setDuration(?int $duration): Timesheet
{
$this->duration = $duration;
@@ -259,9 +259,9 @@ class Timesheet implements EntityWithMetaFields, InvoiceItemInterface
/**
* Do not rely on the results of this method for running records.
*
* @return int
* @return int|null
*/
public function getDuration(): int
public function getDuration(): ?int
{
return $this->duration;
}