We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79e800a commit f0c7460Copy full SHA for f0c7460
modules/swagger-codegen/src/main/resources/php-symfony/api_input_validation.mustache
@@ -61,10 +61,10 @@
61
{{/minimum}}
62
{{#maximum}}
63
{{#exclusiveMaximum}}
64
- $asserts[] = new Assert\LessThan({{minimum}});
+ $asserts[] = new Assert\LessThan({{maximum}});
65
{{/exclusiveMaximum}}
66
{{^exclusiveMaximum}}
67
- $asserts[] = new Assert\LessThanOrEqual({{minimum}});
+ $asserts[] = new Assert\LessThanOrEqual({{maximum}});
68
69
{{/maximum}}
70
{{#pattern}}
0 commit comments