aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/NotificationCenter.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/classes/NotificationCenter.class.php')
-rw-r--r--lib/classes/NotificationCenter.class.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/classes/NotificationCenter.class.php b/lib/classes/NotificationCenter.class.php
index dce878e..1adf5f2 100644
--- a/lib/classes/NotificationCenter.class.php
+++ b/lib/classes/NotificationCenter.class.php
@@ -65,9 +65,10 @@ class NotificationCenter
};
}
- self::$observers[$event][] =
- ['predicate' => $predicate ?: NULL,
- 'observer' => [$observer, $method]];
+ self::$observers[$event][] = [
+ 'predicate' => $predicate ?? NULL,
+ 'observer' => [$observer, $method]
+ ];
}
/**