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 13b1119 commit 54ac2a2Copy full SHA for 54ac2a2
app/code/Magento/Customer/Block/Widget/Dob.php
@@ -208,16 +208,16 @@ public function getHtmlId()
208
*/
209
public function getHtmlExtraParams()
210
{
211
- $extraParams = array(
+ $extraParams = [
212
"'validate-date-au':true"
213
- );
+ ];
214
215
if ($this->isRequired()) {
216
- array_push($extraParams, 'required:true');
+ $extraParams[] = 'required:true';
217
}
218
219
$extraParams = implode(', ', $extraParams);
220
-
+
221
return 'data-validate="{' . $extraParams . '}"';
222
223
0 commit comments