diff options
Diffstat (limited to 'apps/twofactor_backupcodes/lib/Activity')
-rw-r--r-- | apps/twofactor_backupcodes/lib/Activity/Provider.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/twofactor_backupcodes/lib/Activity/Provider.php b/apps/twofactor_backupcodes/lib/Activity/Provider.php index 12c71f68d1c..37122c33e1b 100644 --- a/apps/twofactor_backupcodes/lib/Activity/Provider.php +++ b/apps/twofactor_backupcodes/lib/Activity/Provider.php @@ -1,4 +1,7 @@ <?php + +declare(strict_types=1); + /** * @copyright Copyright (c) 2016 Christoph Wurst <christoph@winzerhof-wurst.at> * @@ -53,7 +56,7 @@ class Provider implements IProvider { $this->l10n = $l10n; } - public function parse($language, IEvent $event, IEvent $previousEvent = null) { + public function parse($language, IEvent $event, IEvent $previousEvent = null): IEvent { if ($event->getApp() !== 'twofactor_backupcodes') { throw new InvalidArgumentException(); } |