fixed method signature

This commit is contained in:
Lennart Hengstmengel 2021-10-07 10:26:35 +02:00 committed by Aryess
parent 8d5f95ed38
commit a0fa169c86
2 changed files with 4 additions and 2 deletions

View file

@ -51,7 +51,8 @@ class MatrixHttpApiTest extends BaseTestCase {
*/ */
protected $api; protected $api;
protected function setUp() { protected function setUp(): void
{
parent::setUp(); parent::setUp();
$this->api = new MatrixHttpApi('http://example.com'); $this->api = new MatrixHttpApi('http://example.com');
} }

View file

@ -26,7 +26,8 @@ class UserTest extends BaseTestCase {
*/ */
protected $room; protected $room;
protected function setUp() { protected function setUp(): void
{
parent::setUp(); parent::setUp();
$this->client = new MatrixClient(self::HOSTNAME); $this->client = new MatrixClient(self::HOSTNAME);
$this->user = new User($this->client->api(), $this->userId); $this->user = new User($this->client->api(), $this->userId);