From 0f0d2e4169a8c66f729816058cb80bd7bf7f85c3 Mon Sep 17 00:00:00 2001 From: Sergey Kalenyuk Date: Mon, 7 Dec 2020 11:19:38 +0100 Subject: [PATCH] Fix method declaration for PHPUnit 8. --- app/code/community/Aoe/TemplateHints/Test/Model/Observer.php | 2 +- .../community/Aoe/TemplateHints/Test/Model/Renderer/Opentip.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/community/Aoe/TemplateHints/Test/Model/Observer.php b/app/code/community/Aoe/TemplateHints/Test/Model/Observer.php index c6fa017..0936400 100755 --- a/app/code/community/Aoe/TemplateHints/Test/Model/Observer.php +++ b/app/code/community/Aoe/TemplateHints/Test/Model/Observer.php @@ -8,7 +8,7 @@ class Aoe_TemplateHints_Test_Model_Observer extends EcomDev_PHPUnit_Test_Case */ protected $observer; - public function setUp() { + public function setUp() : void { $this->observer = Mage::getModel('aoe_templatehints/observer'); } diff --git a/app/code/community/Aoe/TemplateHints/Test/Model/Renderer/Opentip.php b/app/code/community/Aoe/TemplateHints/Test/Model/Renderer/Opentip.php index c4fce11..b0bd4fb 100755 --- a/app/code/community/Aoe/TemplateHints/Test/Model/Renderer/Opentip.php +++ b/app/code/community/Aoe/TemplateHints/Test/Model/Renderer/Opentip.php @@ -24,7 +24,7 @@ protected function enableHints() { $this->replaceByMock('singleton', 'core/cookie', $cookie); } - public function setUp() { + public function setUp() : void { $this->setConfigValue('default/dev/aoe_templatehints/templateHintRenderer', 'aoe_templatehints/renderer_opentip'); $this->enableHints(); }