fixed method signature
This commit is contained in:
parent
8d5f95ed38
commit
a0fa169c86
|
@ -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');
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue