aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/OCS/OCSForbiddenException.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/AppFramework/OCS/OCSForbiddenException.php')
-rw-r--r--lib/public/AppFramework/OCS/OCSForbiddenException.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/AppFramework/OCS/OCSForbiddenException.php b/lib/public/AppFramework/OCS/OCSForbiddenException.php
index ecdccb05a6f..691d31996ca 100644
--- a/lib/public/AppFramework/OCS/OCSForbiddenException.php
+++ b/lib/public/AppFramework/OCS/OCSForbiddenException.php
@@ -38,7 +38,7 @@ class OCSForbiddenException extends OCSException {
* @param Exception|null $previous
* @since 9.1.0
*/
- public function __construct($message = '', Exception $previous = null) {
+ public function __construct($message = '', ?Exception $previous = null) {
parent::__construct($message, Http::STATUS_FORBIDDEN, $previous);
}
}