79445759

Date: 2025-02-17 14:50:22
Score: 1
Natty:
Report link

Found out that the ORM comments before the attribute declaration were messing all up : they're out of date.

So here's what I did :

#[ORM\Column(type:"integer", nullable: true)]
private $capacity;

And now Doctrine finally detects changes.

Basically, Sylius' documentation is out of date regarding the ORM comments. I'll do an issue on the Github so it could be solved.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bryan Sacrelab