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