Browse Source
Fix typo in deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/34421/head
Joas Schilling
3 years ago
No known key found for this signature in database
GPG Key ID: C400AAF20C1BB6FC
3 changed files with
4 additions and
4 deletions
-
lib/public/AppFramework/Http/RedirectToDefaultAppResponse.php
-
lib/public/Defaults.php
-
lib/public/Notification/IManager.php
|
|
|
@ -32,14 +32,14 @@ use OCP\IURLGenerator; |
|
|
|
* Redirects to the default app |
|
|
|
* |
|
|
|
* @since 16.0.0 |
|
|
|
* @depreacted 23.0.0 Use RedirectResponse() with IURLGenerator::linkToDefaultPageUrl() instead |
|
|
|
* @deprecated 23.0.0 Use RedirectResponse() with IURLGenerator::linkToDefaultPageUrl() instead |
|
|
|
*/ |
|
|
|
class RedirectToDefaultAppResponse extends RedirectResponse { |
|
|
|
/** |
|
|
|
* Creates a response that redirects to the default app |
|
|
|
* |
|
|
|
* @since 16.0.0 |
|
|
|
* @depreacted 23.0.0 Use RedirectResponse() with IURLGenerator::linkToDefaultPageUrl() instead |
|
|
|
* @deprecated 23.0.0 Use RedirectResponse() with IURLGenerator::linkToDefaultPageUrl() instead |
|
|
|
*/ |
|
|
|
public function __construct() { |
|
|
|
/** @var IURLGenerator $urlGenerator */ |
|
|
|
|
|
|
|
@ -135,7 +135,7 @@ class Defaults { |
|
|
|
* name of your ownCloud instance containing HTML styles |
|
|
|
* @return string |
|
|
|
* @since 8.0.0 |
|
|
|
* @depreacted 22.0.0 |
|
|
|
* @deprecated 22.0.0 |
|
|
|
*/ |
|
|
|
public function getHTMLName(): string { |
|
|
|
return $this->defaults->getHTMLName(); |
|
|
|
|
|
|
|
@ -52,7 +52,7 @@ interface IManager extends IApp, INotifier { |
|
|
|
* @param string $notifierService The service must implement INotifier, otherwise a |
|
|
|
* \InvalidArgumentException is thrown later |
|
|
|
* @since 17.0.0 |
|
|
|
* @depreacted 22.0.0 use the IBootStrap registration context |
|
|
|
* @deprecated 22.0.0 use the IBootStrap registration context |
|
|
|
*/ |
|
|
|
public function registerNotifierService(string $notifierService): void; |
|
|
|
|
|
|
|
|