Answer the question
In order to leave comments, you need to log in
Why is null value not written, while nullable=true in essence?
Tell me what could be the problem: there is a Section entity, it has the following code:
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $sending_type;
->add('sending_type', \Symfony\Component\Form\Extension\Core\Type\IntegerType::class, [
'required' => false
])
Expected argument of type "string", "null" given at property path "sending_type".
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question