diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-09-17 19:50:44 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-09-17 19:50:44 +0200 |
commit | cb735c671b7ecfec0741a7dc7b551b2fa78539ea (patch) | |
tree | b0988bf3a2f258eafcde1b7b4666f43553bb6f41 /lib/public/User | |
parent | 5b00e21e303438656ee50e9660ef9228a63b18a0 (diff) | |
download | nextcloud-server-cb735c671b7ecfec0741a7dc7b551b2fa78539ea.tar.gz nextcloud-server-cb735c671b7ecfec0741a7dc7b551b2fa78539ea.zip |
Provide correct PHPDoc tags for public namespace
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/public/User')
-rw-r--r-- | lib/public/User/GetQuotaEvent.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/public/User/GetQuotaEvent.php b/lib/public/User/GetQuotaEvent.php index e7706db1730..7f1cc39e5f8 100644 --- a/lib/public/User/GetQuotaEvent.php +++ b/lib/public/User/GetQuotaEvent.php @@ -28,6 +28,8 @@ use OCP\IUser; /** * Event to allow apps to + * + * @since 20.0.0 */ class GetQuotaEvent extends Event { /** @var IUser */ @@ -35,11 +37,17 @@ class GetQuotaEvent extends Event { /** @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; } @@ -47,7 +55,7 @@ class GetQuotaEvent extends Event { /** * 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; @@ -56,7 +64,7 @@ class GetQuotaEvent extends Event { /** * Set the quota overwrite as human readable string * - * @param string $quota + * @since 20.0.0 */ public function setQuota(string $quota): void { $this->quota = $quota; |