mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-01 14:04:30 +02:00
Fixed some exceptions introduced earlier.
This commit is contained in:
parent
58ada496e4
commit
c2c768b151
5 changed files with 6 additions and 10 deletions
|
@ -78,12 +78,12 @@ class DevicePart extends AbstractDBElement
|
|||
* @ORM\ManyToOne(targetEntity="Device", inversedBy="parts")
|
||||
* @ORM\JoinColumn(name="id_device", referencedColumnName="id")
|
||||
*/
|
||||
protected Device $device;
|
||||
protected ?Device $device = null;
|
||||
|
||||
/**
|
||||
* @var Part
|
||||
* @ORM\ManyToOne(targetEntity="App\Entity\Parts\Part")
|
||||
* @ORM\JoinColumn(name="id_part", referencedColumnName="id")
|
||||
*/
|
||||
protected Part $part;
|
||||
protected ?Part $part = null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue