Add more method docs

This commit is contained in:
Matias De lellis committed 2021-09-20 21:45:37 -03:00
1 parent af37467128
commit d16203c691
1 file changed
+9 -3
+9 -3
View File
@@ -5,16 +5,22 @@ use JsonSerializable;
use OCP\AppFramework\Db\Entity;
/**
* @method string getUserId()
* @method void setUserId(string $userId)
* @method string getName()
* @method void setName(string $name)
*/
class Tag extends Entity implements JsonSerializable {
protected $name;
protected $userId;
protected $name;
public function jsonSerialize() {
return [
'id' => $this->id,
'name' => $this->name,
'userid' => $this->userId
'userid' => $this->userId,
'name' => $this->name
];
}