phpstan level 3, fixed deprecations, code cleanup (#811)

This commit is contained in:
Kevin Papst
2019-05-28 12:24:21 +02:00
committed by GitHub
parent d9dca96a32
commit 393abe9e62
69 changed files with 381 additions and 189 deletions

View File

@@ -124,7 +124,7 @@ class Timesheet
private $exported = false;
/**
* @var \App\Entity\Tag[]
* @var Tag[]|ArrayCollection
*
* @ORM\ManyToMany(targetEntity="Tag", inversedBy="timesheets", cascade={"persist"})
* @ORM\JoinTable(
@@ -201,7 +201,7 @@ class Timesheet
}
/**
* @return \DateTime
* @return \DateTime|null
*/
public function getEnd()
{