aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/SubAdmin.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-11-24 00:13:09 +0100
committerMorris Jobke <hey@morrisjobke.de>2020-11-24 00:13:09 +0100
commitf4c1512bb762152404ed478a94d1789ab86c5187 (patch)
treed1335c24f8987b480963caeff76d52206b1e1c72 /lib/private/SubAdmin.php
parentd9e0efbf72e1f57abfbfffd3e547ba171e867d78 (diff)
downloadnextcloud-server-f4c1512bb762152404ed478a94d1789ab86c5187.tar.gz
nextcloud-server-f4c1512bb762152404ed478a94d1789ab86c5187.zip
Fix typo in @deprecated PHPDoc tag
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/SubAdmin.php')
-rw-r--r--lib/private/SubAdmin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/SubAdmin.php b/lib/private/SubAdmin.php
index 3239fb27af8..a8769f28023 100644
--- a/lib/private/SubAdmin.php
+++ b/lib/private/SubAdmin.php
@@ -93,7 +93,7 @@ class SubAdmin extends PublicEmitter implements ISubAdmin {
])
->execute();
- /** @depreacted 21.0.0 - use type SubAdminAddedEvent instead */
+ /** @deprecated 21.0.0 - use type SubAdminAddedEvent instead */
$this->emit('\OC\SubAdmin', 'postCreateSubAdmin', [$user, $group]);
$event = new SubAdminAddedEvent($group, $user);
$this->eventDispatcher->dispatchTyped($event);
@@ -112,7 +112,7 @@ class SubAdmin extends PublicEmitter implements ISubAdmin {
->andWhere($qb->expr()->eq('uid', $qb->createNamedParameter($user->getUID())))
->execute();
- /** @depreacted 21.0.0 - use type SubAdminRemovedEvent instead */
+ /** @deprecated 21.0.0 - use type SubAdminRemovedEvent instead */
$this->emit('\OC\SubAdmin', 'postDeleteSubAdmin', [$user, $group]);
$event = new SubAdminRemovedEvent($group, $user);
$this->eventDispatcher->dispatchTyped($event);