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 625dc56 commit 28ff5e9Copy full SHA for 28ff5e9
app/code/Magento/Theme/Block/Html/Footer.php
@@ -137,7 +137,7 @@ protected function getCacheLifetime()
137
/**
138
* Replace YYYY by the current year
139
*/
140
- private function replaceCurrentYear($text)
+ private function replaceCurrentYear(string $text): string
141
{
142
return str_replace('YYYY', (new \DateTime())->format('Y'), $text)
143
}
0 commit comments