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);