From a0fa169c86dbf040b802baff5826cff2e2fd84d7 Mon Sep 17 00:00:00 2001 From: Lennart Hengstmengel Date: Thu, 7 Oct 2021 10:26:35 +0200 Subject: [PATCH] fixed method signature --- tests/MatrixHttpApiTest.php | 3 ++- tests/UserTest.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/MatrixHttpApiTest.php b/tests/MatrixHttpApiTest.php index ef4d7ba..38f9f4b 100644 --- a/tests/MatrixHttpApiTest.php +++ b/tests/MatrixHttpApiTest.php @@ -51,7 +51,8 @@ class MatrixHttpApiTest extends BaseTestCase { */ protected $api; - protected function setUp() { + protected function setUp(): void + { parent::setUp(); $this->api = new MatrixHttpApi('http://example.com'); } diff --git a/tests/UserTest.php b/tests/UserTest.php index cbfe173..a7d98fc 100644 --- a/tests/UserTest.php +++ b/tests/UserTest.php @@ -26,7 +26,8 @@ class UserTest extends BaseTestCase { */ protected $room; - protected function setUp() { + protected function setUp(): void + { parent::setUp(); $this->client = new MatrixClient(self::HOSTNAME); $this->user = new User($this->client->api(), $this->userId);