From 70d430b7c2ba40431f299aea93b290a12922d40b Mon Sep 17 00:00:00 2001 From: George Keremidchiev Date: Wed, 9 Dec 2020 10:29:21 +0200 Subject: [PATCH] Add setUP and tearDown return type --- tests/classes/Testcase/Promotions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/classes/Testcase/Promotions.php b/tests/classes/Testcase/Promotions.php index 993f96e..06a9a25 100644 --- a/tests/classes/Testcase/Promotions.php +++ b/tests/classes/Testcase/Promotions.php @@ -10,14 +10,14 @@ */ abstract class Testcase_Promotions extends \PHPUnit\Framework\TestCase { - public function setUp() + public function setUp(): void { parent::setUp(); Database::instance()->begin(); Jam_Association_Creator::current(1); } - public function tearDown() + public function tearDown(): void { Database::instance()->rollback(); parent::tearDown();