Skip to content

Commit 28ff5e9

Browse files
amenkihor-sviziev
andauthored
Update app/code/Magento/Theme/Block/Html/Footer.php
Co-authored-by: Ihor Sviziev <ihor-sviziev@users.noreply.github.com>
1 parent 625dc56 commit 28ff5e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Theme/Block/Html/Footer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ protected function getCacheLifetime()
137137
/**
138138
* Replace YYYY by the current year
139139
*/
140-
private function replaceCurrentYear($text)
140+
private function replaceCurrentYear(string $text): string
141141
{
142142
return str_replace('YYYY', (new \DateTime())->format('Y'), $text)
143143
}

0 commit comments

Comments
 (0)