fixed method signature

This commit is contained in:
Lennart Hengstmengel 2021-10-07 10:26:35 +02:00
parent 70f6273e0e
commit b29257a282
2 changed files with 4 additions and 2 deletions

View file

@ -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');
}

View file

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