mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-17 16:21:30 +02:00
Use typed properties
This commit is contained in:
parent
548ec2ea50
commit
51e05a8669
216 changed files with 603 additions and 698 deletions
|
@ -57,7 +57,7 @@ trait MasterAttachmentTrait
|
|||
* @ORM\JoinColumn(name="id_preview_attachement", referencedColumnName="id")
|
||||
* @Assert\Expression("value == null or value.isPicture()", message="part.master_attachment.must_be_picture")
|
||||
*/
|
||||
protected $master_picture_attachment;
|
||||
protected ?Attachment $master_picture_attachment = null;
|
||||
|
||||
/**
|
||||
* Get the master picture "Attachment"-object of this part (if there is one).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue