@@ -33,23 +33,23 @@ |
||
33 | 33 | use OCP\Support\Subscription\IRegistry; |
34 | 34 | |
35 | 35 | class Assertion implements IAssertion { |
36 | - private IRegistry $registry; |
|
37 | - private IFactory $l10nFactory; |
|
38 | - private IManager $notificationManager; |
|
36 | + private IRegistry $registry; |
|
37 | + private IFactory $l10nFactory; |
|
38 | + private IManager $notificationManager; |
|
39 | 39 | |
40 | - public function __construct(IRegistry $registry, IFactory $l10nFactory, IManager $notificationManager) { |
|
41 | - $this->registry = $registry; |
|
42 | - $this->l10nFactory = $l10nFactory; |
|
43 | - $this->notificationManager = $notificationManager; |
|
44 | - } |
|
40 | + public function __construct(IRegistry $registry, IFactory $l10nFactory, IManager $notificationManager) { |
|
41 | + $this->registry = $registry; |
|
42 | + $this->l10nFactory = $l10nFactory; |
|
43 | + $this->notificationManager = $notificationManager; |
|
44 | + } |
|
45 | 45 | |
46 | - /** |
|
47 | - * @inheritDoc |
|
48 | - */ |
|
49 | - public function createUserIsLegit(): void { |
|
50 | - if ($this->registry->delegateIsHardUserLimitReached($this->notificationManager)) { |
|
51 | - $l = $this->l10nFactory->get('lib'); |
|
52 | - throw new HintException($l->t('The user was not created because the user limit has been reached. Check your notifications to learn more.')); |
|
53 | - } |
|
54 | - } |
|
46 | + /** |
|
47 | + * @inheritDoc |
|
48 | + */ |
|
49 | + public function createUserIsLegit(): void { |
|
50 | + if ($this->registry->delegateIsHardUserLimitReached($this->notificationManager)) { |
|
51 | + $l = $this->l10nFactory->get('lib'); |
|
52 | + throw new HintException($l->t('The user was not created because the user limit has been reached. Check your notifications to learn more.')); |
|
53 | + } |
|
54 | + } |
|
55 | 55 | } |
@@ -20,6 +20,6 @@ |
||
20 | 20 | ); |
21 | 21 | } |
22 | 22 | |
23 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
23 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
24 | 24 | |
25 | 25 | return ComposerAutoloaderInitDAV::getLoader(); |
@@ -20,6 +20,6 @@ |
||
20 | 20 | ); |
21 | 21 | } |
22 | 22 | |
23 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
23 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
24 | 24 | |
25 | 25 | return ComposerAutoloaderInitFiles_Versions::getLoader(); |
@@ -20,6 +20,6 @@ |
||
20 | 20 | ); |
21 | 21 | } |
22 | 22 | |
23 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
23 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
24 | 24 | |
25 | 25 | return ComposerAutoloaderInitLookupServerConnector::getLoader(); |
@@ -20,6 +20,6 @@ |
||
20 | 20 | ); |
21 | 21 | } |
22 | 22 | |
23 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
23 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
24 | 24 | |
25 | 25 | return ComposerAutoloaderInitCloudFederationAPI::getLoader(); |
@@ -20,6 +20,6 @@ |
||
20 | 20 | ); |
21 | 21 | } |
22 | 22 | |
23 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
23 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
24 | 24 | |
25 | 25 | return ComposerAutoloaderInitOAuth2::getLoader(); |
@@ -20,6 +20,6 @@ |
||
20 | 20 | ); |
21 | 21 | } |
22 | 22 | |
23 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
23 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
24 | 24 | |
25 | 25 | return ComposerAutoloaderInitTwoFactorBackupCodes::getLoader(); |
@@ -20,6 +20,6 @@ |
||
20 | 20 | ); |
21 | 21 | } |
22 | 22 | |
23 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
23 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
24 | 24 | |
25 | 25 | return ComposerAutoloaderInitTesting::getLoader(); |
@@ -20,6 +20,6 @@ |
||
20 | 20 | ); |
21 | 21 | } |
22 | 22 | |
23 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
23 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
24 | 24 | |
25 | 25 | return ComposerAutoloaderInitWorkflowEngine::getLoader(); |