aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Encryption/Exceptions/GenericEncryptionException.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Encryption/Exceptions/GenericEncryptionException.php')
-rw-r--r--lib/public/Encryption/Exceptions/GenericEncryptionException.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Encryption/Exceptions/GenericEncryptionException.php b/lib/public/Encryption/Exceptions/GenericEncryptionException.php
index 8406d0593d2..5338b221675 100644
--- a/lib/public/Encryption/Exceptions/GenericEncryptionException.php
+++ b/lib/public/Encryption/Exceptions/GenericEncryptionException.php
@@ -41,7 +41,7 @@ class GenericEncryptionException extends HintException {
* @param \Exception|null $previous
* @since 8.1.0
*/
- public function __construct($message = '', $hint = '', $code = 0, \Exception $previous = null) {
+ public function __construct($message = '', $hint = '', $code = 0, ?\Exception $previous = null) {
if (empty($message)) {
$message = 'Unspecified encryption exception';
}