summaryrefslogtreecommitdiffstats
path: root/lib/public/appframework/http/notfoundresponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/appframework/http/notfoundresponse.php')
-rw-r--r--lib/public/appframework/http/notfoundresponse.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/public/appframework/http/notfoundresponse.php b/lib/public/appframework/http/notfoundresponse.php
index 21f0461f5e6..8f59384faf1 100644
--- a/lib/public/appframework/http/notfoundresponse.php
+++ b/lib/public/appframework/http/notfoundresponse.php
@@ -26,15 +26,20 @@ use OCP\Template;
/**
* A generic 404 response showing an 404 error page as well to the end-user
+ * @since 8.1.0
*/
class NotFoundResponse extends Response {
+ /**
+ * @since 8.1.0
+ */
public function __construct() {
$this->setStatus(404);
}
/**
* @return string
+ * @since 8.1.0
*/
public function render() {
$template = new Template('core', '404', 'guest');