@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | } |
57 | 57 | |
58 | 58 | public function register(IRegistrationContext $context): void { |
59 | - $context->registerService(NewUserMailHelper::class, function (ContainerInterface $c) { |
|
59 | + $context->registerService(NewUserMailHelper::class, function(ContainerInterface $c) { |
|
60 | 60 | return new NewUserMailHelper( |
61 | 61 | $c->get(Defaults::class), |
62 | 62 | $c->get(IURLGenerator::class), |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | Util::getDefaultEmailAddress('no-reply') |
70 | 70 | ); |
71 | 71 | }); |
72 | - $context->registerService(ProvisioningApiMiddleware::class, function (ContainerInterface $c) { |
|
72 | + $context->registerService(ProvisioningApiMiddleware::class, function(ContainerInterface $c) { |
|
73 | 73 | $user = $c->get(IUserManager::class)->get($c->get('UserId')); |
74 | 74 | $isAdmin = false; |
75 | 75 | $isSubAdmin = false; |