Skip to content

Commit 3fdc416

Browse files
committed
-
1 parent b5034f8 commit 3fdc416

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

reference/constraints/UniqueEntity.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,7 @@ this option to specify one or more fields to only ignore ``null`` values on them
274274
namespace App\Entity;
275275
276276
use Doctrine\ORM\Mapping as ORM;
277-
278-
// DON'T forget the following use statement!!!
279277
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
280-
281278
use Symfony\Component\Validator\Constraints as Assert;
282279
283280
#[ORM\Entity]
@@ -321,9 +318,7 @@ this option to specify one or more fields to only ignore ``null`` values on them
321318
// src/Entity/User.php
322319
namespace App\Entity;
323320
324-
// DON'T forget the following use statement!!!
325321
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
326-
327322
use Symfony\Component\Validator\Constraints as Assert;
328323
329324
class User

0 commit comments

Comments
 (0)