File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ protected function getMapping()
1414 // Basic Constraints
1515 "NotBlank " => function ($ constraint , $ translator ) {
1616 return array (
17- 'data-rule-required ' => true ,
17+ 'data-rule-required ' => ' true ' ,
1818 'data-msg-required ' => $ translator ->trans ($ constraint ->message ),
1919 );
2020 },
2121
2222 // String Constraints
2323 "Email " => function ($ constraint , $ translator ) {
2424 return array (
25- 'data-rule-email ' => true ,
25+ 'data-rule-email ' => ' true ' ,
2626 'data-msg-email ' => $ translator ->trans ($ constraint ->message ),
2727 );
2828 },
@@ -49,7 +49,7 @@ protected function getMapping()
4949 },
5050 "Url " => function ($ constraint , $ translator ) {
5151 return array (
52- 'data-rule-url ' => true ,
52+ 'data-rule-url ' => ' true ' ,
5353 'data-msg-url ' => $ translator ->trans ($ constraint ->message ),
5454 );
5555 },
You can’t perform that action at this time.
0 commit comments