summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Rudolf <github.com@daniel-rudolf.de>2021-07-01 15:35:09 +0200
committerDaniel Rudolf <github.com@daniel-rudolf.de>2021-07-01 15:35:09 +0200
commita43de10d1e772be7b891c1717468d2c7d6e9b836 (patch)
treeabbd53d886274b4a7e3651573b81d62f3fb854f6 /lib
parente478db9161990d004d42dbae07436d6e881fc137 (diff)
downloadnextcloud-server-a43de10d1e772be7b891c1717468d2c7d6e9b836.tar.gz
nextcloud-server-a43de10d1e772be7b891c1717468d2c7d6e9b836.zip
Add RedirectToDefaultAppResponse::__construct() annotations
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/public/AppFramework/Http/RedirectToDefaultAppResponse.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Http/RedirectToDefaultAppResponse.php b/lib/public/AppFramework/Http/RedirectToDefaultAppResponse.php
index 62445441998..e957b245e53 100644
--- a/lib/public/AppFramework/Http/RedirectToDefaultAppResponse.php
+++ b/lib/public/AppFramework/Http/RedirectToDefaultAppResponse.php
@@ -37,6 +37,9 @@ use OCP\IURLGenerator;
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
*/
public function __construct() {
/** @var IURLGenerator $urlGenerator */