Skip to content

Commit

Permalink
Add assert not null on Etude.prospect
Browse files Browse the repository at this point in the history
  • Loading branch information
Stoakes committed Jun 14, 2017
1 parent 9f826c7 commit be6a35e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Mgate/SuiviBundle/Entity/Etude.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ class Etude

/**
* @Assert\Valid()
* @Assert\NotNull()
* @ORM\ManyToOne(targetEntity="Mgate\PersonneBundle\Entity\Prospect", cascade={"persist"})
* @ORM\JoinColumn(nullable=false)
*/
Expand Down

0 comments on commit be6a35e

Please sign in to comment.