File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Customer/Block/Widget Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -413,11 +413,11 @@ public function getTranslatedCalendarConfigJson(): string
413413 $ monthsFormat = $ monthsData ['format ' ];
414414 $ daysFormat = $ daysData ['format ' ];
415415 $ monthsAbbreviated = $ monthsFormat ['abbreviated ' ];
416- $ monthsShort = $ monthsAbbreviated !== null ? $ monthsAbbreviated : $ monthsFormat ['wide ' ];
416+ $ monthsShort = $ monthsAbbreviated ?? $ monthsFormat ['wide ' ];
417417 $ daysAbbreviated = $ daysFormat ['abbreviated ' ];
418- $ daysShort = $ daysAbbreviated !== null ? $ daysAbbreviated : $ daysFormat ['wide ' ];
418+ $ daysShort = $ daysAbbreviated ?? $ daysFormat ['wide ' ];
419419 $ daysShortFormat = $ daysFormat ['short ' ];
420- $ daysMin = $ daysShortFormat !== null ? $ daysShortFormat : $ daysShort ;
420+ $ daysMin = $ daysShortFormat ?? $ daysShort ;
421421 return $ this ->encoder ->encode (
422422 [
423423 'closeText ' => __ ('Done ' ),
You can’t perform that action at this time.
0 commit comments