File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/fixtures/make-validator/expected Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 8
8
<?= $ class_data ->getClassDeclaration (); ?>
9
9
10
10
{
11
- public string $message = 'The string "{{ string }}" contains an illegal character: it can only contain letters or numbers.';
11
+ public string $message = 'The string "{{ value }}" contains an illegal character: it can only contain letters or numbers.';
12
12
13
13
// You can use #[HasNamedArguments] to make some constraint options required.
14
14
// All configurable options must be passed to the constructor.
Original file line number Diff line number Diff line change 7
7
#[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE )]
8
8
final class FooBar extends Constraint
9
9
{
10
- public string $ message = 'The string "{{ string }}" contains an illegal character: it can only contain letters or numbers. ' ;
10
+ public string $ message = 'The string "{{ value }}" contains an illegal character: it can only contain letters or numbers. ' ;
11
11
12
12
// You can use #[HasNamedArguments] to make some constraint options required.
13
13
// All configurable options must be passed to the constructor.
You can’t perform that action at this time.
0 commit comments