mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-18 16:19:34 +00:00
Fixed phpstan issues
This commit is contained in:
parent
27f4de1d51
commit
c8827ccc71
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ class PartCustomState extends AbstractPartsContainingDBElement
|
||||||
#[Groups(['part_custom_state:read', 'part_custom_state:write'])]
|
#[Groups(['part_custom_state:read', 'part_custom_state:write'])]
|
||||||
protected ?Attachment $master_picture_attachment = null;
|
protected ?Attachment $master_picture_attachment = null;
|
||||||
|
|
||||||
/** @var Collection<int, PartCustomStateAttachment>
|
/** @var Collection<int, PartCustomStateParameter>
|
||||||
*/
|
*/
|
||||||
#[Assert\Valid]
|
#[Assert\Valid]
|
||||||
#[ORM\OneToMany(mappedBy: 'element', targetEntity: PartCustomStateParameter::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
#[ORM\OneToMany(mappedBy: 'element', targetEntity: PartCustomStateParameter::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue