diff options
author | Joas Schilling <coding@schilljs.com> | 2019-04-10 14:12:10 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-07-15 15:12:40 +0200 |
commit | 9b288cda6daf0ab82a910b3442fcc0e003471741 (patch) | |
tree | 9f20504c3eed2f5ca1a63bf135dea47943b100e6 /lib/public/Notification/IApp.php | |
parent | c048c56411d86a3f8509ddae66743d4f189f2deb (diff) | |
download | nextcloud-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/IApp.php')
-rw-r--r-- | lib/public/Notification/IApp.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/public/Notification/IApp.php b/lib/public/Notification/IApp.php index 8f7b9b3d013..58d2a1fa5b8 100644 --- a/lib/public/Notification/IApp.php +++ b/lib/public/Notification/IApp.php @@ -1,4 +1,5 @@ <?php +declare(strict_types=1); /** * @copyright Copyright (c) 2016, ownCloud, Inc. * @@ -34,18 +35,18 @@ interface IApp { * @throws \InvalidArgumentException When the notification is not valid * @since 9.0.0 */ - public function notify(INotification $notification); + public function notify(INotification $notification): void; /** * @param INotification $notification * @since 9.0.0 */ - public function markProcessed(INotification $notification); + public function markProcessed(INotification $notification): void; /** * @param INotification $notification * @return int * @since 9.0.0 */ - public function getCount(INotification $notification); + public function getCount(INotification $notification): int; } |