aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Activity/Provider.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/lib/Activity/Provider.php')
-rw-r--r--apps/settings/lib/Activity/Provider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/Activity/Provider.php b/apps/settings/lib/Activity/Provider.php
index 001f75ba5e6..e10e55b5750 100644
--- a/apps/settings/lib/Activity/Provider.php
+++ b/apps/settings/lib/Activity/Provider.php
@@ -83,7 +83,7 @@ class Provider implements IProvider {
* @throws \InvalidArgumentException
* @since 11.0.0
*/
- public function parse($language, IEvent $event, IEvent $previousEvent = null): IEvent {
+ public function parse($language, IEvent $event, ?IEvent $previousEvent = null): IEvent {
if ($event->getApp() !== 'settings') {
throw new \InvalidArgumentException('Unknown app');
}