aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Defaults.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Defaults.php')
-rw-r--r--lib/public/Defaults.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Defaults.php b/lib/public/Defaults.php
index 63568b27294..0b52a0f6bf0 100644
--- a/lib/public/Defaults.php
+++ b/lib/public/Defaults.php
@@ -50,7 +50,7 @@ class Defaults {
* actual defaults
* @since 6.0.0
*/
- public function __construct(\OC_Defaults $defaults = null) {
+ public function __construct(?\OC_Defaults $defaults = null) {
if ($defaults === null) {
$defaults = \OC::$server->get('ThemingDefaults');
}