Skip to content

Commit 78f8a3b

Browse files
author
Stephan Six
committed
[WCM] [Validator] Fixed use statements order
1 parent bcceaa2 commit 78f8a3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/constraints/UniqueEntity.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,10 +391,10 @@ will be used instead of the default strategy.
391391
// src/Form/Data/BlogPostTranslationFormData.php
392392
namespace App\Form\Data;
393393
394+
use App\Entity\BlogPostTranslation;
394395
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
395396
use Symfony\Component\Uid\Uuid;
396397
use Symfony\Component\Validator\Constraints\NotBlank;
397-
use App\Entity\BlogPostTranslation;
398398
399399
#[UniqueEntity(
400400
fields: ['locale', 'slug'],
@@ -462,10 +462,10 @@ will be used instead of the default strategy.
462462
// src/Form/Data/BlogPostTranslationFormData.php
463463
namespace App\Form\Data;
464464
465+
use App\Entity\BlogPostTranslation;
465466
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
466467
use Symfony\Component\Uid\Uuid;
467468
use Symfony\Component\Validator\Constraints\NotBlank;
468-
use App\Entity\BlogPostTranslation;
469469
470470
class BlogPostTranslationFormData
471471
{

0 commit comments

Comments
 (0)