diff options
author | provokateurin <kate@provokateurin.de> | 2024-09-06 09:44:04 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-09-09 11:09:37 +0200 |
commit | 007be83a968e6aee649ff8de173163cb5ef93a86 (patch) | |
tree | 18e03c4a5562989bbd6482e9e6a47f3619b71e30 /lib/private/Support | |
parent | fc10fa592626d154a91d77d35c93beabdc7605c1 (diff) | |
download | nextcloud-server-fix/oc/inheritdoc.tar.gz nextcloud-server-fix/oc/inheritdoc.zip |
fix(OC): Remove doc blocks for OCP implementationsfix/oc/inheritdoc
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/private/Support')
-rw-r--r-- | lib/private/Support/CrashReport/Registry.php | 29 | ||||
-rw-r--r-- | lib/private/Support/Subscription/Assertion.php | 3 | ||||
-rw-r--r-- | lib/private/Support/Subscription/Registry.php | 30 |
3 files changed, 0 insertions, 62 deletions
diff --git a/lib/private/Support/CrashReport/Registry.php b/lib/private/Support/CrashReport/Registry.php index 93969a81265..c619c784956 100644 --- a/lib/private/Support/CrashReport/Registry.php +++ b/lib/private/Support/CrashReport/Registry.php @@ -8,7 +8,6 @@ declare(strict_types=1); */ namespace OC\Support\CrashReport; -use Exception; use OCP\AppFramework\QueryException; use OCP\IServerContainer; use OCP\Support\CrashReport\ICollectBreadcrumbs; @@ -33,11 +32,6 @@ class Registry implements IRegistry { $this->serverContainer = $serverContainer; } - /** - * Register a reporter instance - * - * @param IReporter $reporter - */ public function register(IReporter $reporter): void { $this->reporters[] = $reporter; } @@ -46,15 +40,6 @@ class Registry implements IRegistry { $this->lazyReporters[] = $class; } - /** - * Delegate breadcrumb collection to all registered reporters - * - * @param string $message - * @param string $category - * @param array $context - * - * @since 15.0.0 - */ public function delegateBreadcrumb(string $message, string $category, array $context = []): void { $this->loadLazyProviders(); @@ -65,12 +50,6 @@ class Registry implements IRegistry { } } - /** - * Delegate crash reporting to all registered reporters - * - * @param Exception|Throwable $exception - * @param array $context - */ public function delegateReport($exception, array $context = []): void { $this->loadLazyProviders(); @@ -79,14 +58,6 @@ class Registry implements IRegistry { } } - /** - * Delegate a message to all reporters that implement IMessageReporter - * - * @param string $message - * @param array $context - * - * @return void - */ public function delegateMessage(string $message, array $context = []): void { $this->loadLazyProviders(); diff --git a/lib/private/Support/Subscription/Assertion.php b/lib/private/Support/Subscription/Assertion.php index 04a0dde739f..8b2895ed861 100644 --- a/lib/private/Support/Subscription/Assertion.php +++ b/lib/private/Support/Subscription/Assertion.php @@ -24,9 +24,6 @@ class Assertion implements IAssertion { $this->notificationManager = $notificationManager; } - /** - * @inheritDoc - */ public function createUserIsLegit(): void { if ($this->registry->delegateIsHardUserLimitReached($this->notificationManager)) { $l = $this->l10nFactory->get('lib'); diff --git a/lib/private/Support/Subscription/Registry.php b/lib/private/Support/Subscription/Registry.php index 3d3daa97abb..f867ebb2cfe 100644 --- a/lib/private/Support/Subscription/Registry.php +++ b/lib/private/Support/Subscription/Registry.php @@ -66,15 +66,6 @@ class Registry implements IRegistry { return $this->subscription; } - /** - * Register a subscription instance. In case it is called multiple times the - * first one is used. - * - * @param ISubscription $subscription - * @throws AlreadyRegisteredException - * - * @since 17.0.0 - */ public function register(ISubscription $subscription): void { if ($this->subscription !== null || $this->subscriptionService !== null) { throw new AlreadyRegisteredException(); @@ -91,11 +82,6 @@ class Registry implements IRegistry { } - /** - * Fetches the list of app IDs that are supported by the subscription - * - * @since 17.0.0 - */ public function delegateGetSupportedApps(): array { if ($this->getSubscription() instanceof ISupportedApps) { return $this->getSubscription()->getSupportedApps(); @@ -103,11 +89,6 @@ class Registry implements IRegistry { return []; } - /** - * Indicates if a valid subscription is available - * - * @since 17.0.0 - */ public function delegateHasValidSubscription(): bool { // Allow overwriting this manually for environments where the subscription information cannot be fetched if ($this->config->getSystemValueBool('has_valid_subscription')) { @@ -120,11 +101,6 @@ class Registry implements IRegistry { return false; } - /** - * Indicates if the subscription has extended support - * - * @since 17.0.0 - */ public function delegateHasExtendedSupport(): bool { if ($this->getSubscription() instanceof ISubscription) { return $this->getSubscription()->hasExtendedSupport(); @@ -133,12 +109,6 @@ class Registry implements IRegistry { } - /** - * Indicates if a hard user limit is reached and no new users should be created - * - * @param IManager|null $notificationManager - * @since 21.0.0 - */ public function delegateIsHardUserLimitReached(?IManager $notificationManager = null): bool { $subscription = $this->getSubscription(); if ($subscription instanceof ISubscription && |