Skip to content

Commit 6848d50

Browse files
authored
Apply suggestions from code review
1 parent e0abeaa commit 6848d50

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ protected function getCacheLifetime()
135135
}
136136

137137
/**
138-
* Replace YYYY by the current year
138+
* Replace YYYY with the current year
139+
*
140+
* @param string $text
139141
*/
140142
private function replaceCurrentYear(string $text): string
141143
{

app/code/Magento/Theme/Test/Unit/Block/Html/FooterTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ class FooterTest extends TestCase
2525
*/
2626
protected $block;
2727

28+
/**
29+
* @var Config
30+
*/
31+
private $scopeConfig;
32+
2833
protected function setUp(): void
2934
{
3035
$objectManager = new ObjectManager($this);

0 commit comments

Comments
 (0)