Skip to content

Commit 60b2038

Browse files
author
Foulques DU-PELOUX
committed
[php-symfony] do not interpret sequential escape
1 parent 561e5bf commit 60b2038

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/openapi-generator/src/main/resources/php-symfony/api_input_validation.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
$asserts[] = new Assert\Type("\{{modelPackage}}\{{dataType}}");
4343
{{/isEnumRef}}
4444
{{^isEnumRef}}
45-
$asserts[] = new Assert\Type("{{dataType}}");
45+
$asserts[] = new Assert\Type('{{dataType}}');
4646
{{^isPrimitiveType}}
4747
$asserts[] = new Assert\Valid();
4848
{{/isPrimitiveType}}

0 commit comments

Comments
 (0)