Signed-off-by: Morris Jobke <hey@morrisjobke.de>
/**
* Event to allow apps to
+ *
+ * @since 20.0.0
*/
class GetQuotaEvent extends Event {
/** @var IUser */
/** @var string|null */
private $quota = null;
+ /**
+ * @since 20.0.0
+ */
public function __construct(IUser $user) {
parent::__construct();
$this->user = $user;
}
+ /**
+ * @since 20.0.0
+ */
public function getUser(): IUser {
return $this->user;
}
/**
* Get the set quota as human readable string, or null if no overwrite is set
*
- * @return string|null
+ * @since 20.0.0
*/
public function getQuota(): ?string {
return $this->quota;
/**
* Set the quota overwrite as human readable string
*
- * @param string $quota
+ * @since 20.0.0
*/
public function setQuota(string $quota): void {
$this->quota = $quota;