Skip to content

Commit

Permalink
refac(Validator): reword ALREADY_ARCHIVED
Browse files Browse the repository at this point in the history
  • Loading branch information
n3wborn committed Sep 19, 2023
1 parent 9135e25 commit fec08d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Service/Category/CategoryValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

final class CategoryValidator
{
public const CATEGORY_ALREADY_ARCHIVED = 'La catégorie est déjà archivée';
public const CATEGORY_ALREADY_ARCHIVED = 'La catégorie a déja été supprimée';
public const NAME_SHOULD_BE_UNIQUE = 'La catégorie doit avoir un nom unique';
public const NAME_SHOULD_NOT_BE_EMPTY = 'Le champ Nom ne peut être vide';

Expand Down
2 changes: 1 addition & 1 deletion src/Service/Project/ProjectValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final class ProjectValidator
public const DESCRIPTION_SHOULD_NOT_BE_EMPTY = 'Le champ Description ne peut être vide';
public const NAME_SHOULD_BE_UNIQUE = 'Le projet doit avoir un nom unique';
public const NAME_SHOULD_NOT_BE_EMPTY = 'Le champ Nom ne peut être vide';
public const PROJECT_ALREADY_ARCHIVED = 'Le projet est déjà archivé';
public const PROJECT_ALREADY_ARCHIVED = 'Le projet a déja été supprimé';

public function __construct(
private ProjectRepository $projectRepository,
Expand Down

0 comments on commit fec08d8

Please sign in to comment.