summaryrefslogtreecommitdiffstats
path: root/lib/public/Notification/INotifier.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-04-10 14:12:10 +0200
committerJoas Schilling <coding@schilljs.com>2019-07-15 15:12:40 +0200
commit9b288cda6daf0ab82a910b3442fcc0e003471741 (patch)
tree9f20504c3eed2f5ca1a63bf135dea47943b100e6 /lib/public/Notification/INotifier.php
parentc048c56411d86a3f8509ddae66743d4f189f2deb (diff)
downloadnextcloud-server-9b288cda6daf0ab82a910b3442fcc0e003471741.tar.gz
nextcloud-server-9b288cda6daf0ab82a910b3442fcc0e003471741.zip
Make all interfaces strict
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/Notification/INotifier.php')
-rw-r--r--lib/public/Notification/INotifier.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/Notification/INotifier.php b/lib/public/Notification/INotifier.php
index 5e2a47266ad..44066c035b9 100644
--- a/lib/public/Notification/INotifier.php
+++ b/lib/public/Notification/INotifier.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
@@ -36,5 +37,5 @@ interface INotifier {
* @throws \InvalidArgumentException When the notification was not prepared by a notifier
* @since 9.0.0
*/
- public function prepare(INotification $notification, $languageCode);
+ public function prepare(INotification $notification, string $languageCode): INotification;
}