Skip to content

Commit a3db8d3

Browse files
committed
#17833:  Child theme does not inherit translations from parent theme
- fix php7.0 compatibility
1 parent 10d9cc9 commit a3db8d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Translate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ protected function _getModuleTranslationFile($moduleName, $locale)
390390
* @param array $config
391391
* @return string|null
392392
*/
393-
private function getThemeTranslationFileName(string $locale, array $config): ?string
393+
private function getThemeTranslationFileName(string $locale, array $config)
394394
{
395395
$fileName = $this->_viewFileSystem->getLocaleFileName(
396396
'i18n' . '/' . $locale . '.csv',

0 commit comments

Comments
 (0)