Fixed PHPstan issues.

This commit is contained in:
Jan Böhmer 2020-03-29 15:59:00 +02:00
parent 93aeeb162d
commit ea302ded91
12 changed files with 26 additions and 22 deletions

View file

@ -88,13 +88,13 @@ class Currency extends AbstractStructuralDBElement
protected $parent;
/**
* @var Collection|CurrencyAttachment[]
* @var Collection<CurrencyAttachment>
* @ORM\OneToMany(targetEntity="App\Entity\Attachments\CurrencyAttachment", mappedBy="element", cascade={"persist", "remove"}, orphanRemoval=true)
* @Assert\Valid()
*/
protected $attachments;
/** @var CurrencyParameter[]
/** @var Collection<CurrencyParameter>
* @ORM\OneToMany(targetEntity="App\Entity\Parameters\CurrencyParameter", mappedBy="element", cascade={"persist", "remove"}, orphanRemoval=true)
* @ORM\OrderBy({"group" = "ASC" ,"name" = "ASC"})
* @Assert\Valid()