Add type annotations to MatrixTicket class

This commit is contained in:
Ben 2023-07-19 14:11:47 +02:00
parent 317630c054
commit e1d7f7c8d9
Signed by: ben
GPG key ID: 1353F41CF1CFF2D3

View file

@ -7,11 +7,11 @@ use OCP\AppFramework\Db\Entity;
class MatrixTicket extends Entity implements JsonSerializable class MatrixTicket extends Entity implements JsonSerializable
{ {
protected $matrixControlRoom; protected string $matrixControlRoom;
protected $matrixAssistedUser; // The ID of the person who created the ticket. Usually the person who needs help. protected string $matrixAssistedUser; // The ID of the person who created the ticket. Usually the person who needs help.
protected $matrixHelperUser; protected string $matrixHelperUser;
protected $status; protected string $status;
protected $version; protected int $version;
public function jsonSerialize(): array public function jsonSerialize(): array
{ {