diff options
author | Joas Schilling <coding@schilljs.com> | 2016-09-05 14:16:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-05 14:16:45 +0200 |
commit | 12736a359221cf9d6d4dc4c3aba83a545554b02e (patch) | |
tree | 8155365f46f9abdac4e57952291231010273302a /lib/public | |
parent | 8741acf8a6dfb3919c43d3cee5a9c13f6c1e4b9f (diff) | |
parent | fb04c5682719b27f31c633bdb8130fc6b0a53385 (diff) | |
download | nextcloud-server-12736a359221cf9d6d4dc4c3aba83a545554b02e.tar.gz nextcloud-server-12736a359221cf9d6d4dc4c3aba83a545554b02e.zip |
Merge pull request #1271 from nextcloud/fix-docs-for-notifications
Null !== void, those methods are void
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Notification/IApp.php | 2 | ||||
-rw-r--r-- | lib/public/Notification/IManager.php | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/public/Notification/IApp.php b/lib/public/Notification/IApp.php index fa06a63ccc6..8f7b9b3d013 100644 --- a/lib/public/Notification/IApp.php +++ b/lib/public/Notification/IApp.php @@ -31,7 +31,6 @@ namespace OCP\Notification; interface IApp { /** * @param INotification $notification - * @return null * @throws \InvalidArgumentException When the notification is not valid * @since 9.0.0 */ @@ -39,7 +38,6 @@ interface IApp { /** * @param INotification $notification - * @return null * @since 9.0.0 */ public function markProcessed(INotification $notification); diff --git a/lib/public/Notification/IManager.php b/lib/public/Notification/IManager.php index 35878d2af36..cbc48142cbb 100644 --- a/lib/public/Notification/IManager.php +++ b/lib/public/Notification/IManager.php @@ -32,7 +32,6 @@ interface IManager extends IApp, INotifier { /** * @param \Closure $service The service must implement IApp, otherwise a * \InvalidArgumentException is thrown later - * @return null * @since 9.0.0 */ public function registerApp(\Closure $service); @@ -42,7 +41,6 @@ interface IManager extends IApp, INotifier { * \InvalidArgumentException is thrown later * @param \Closure $info An array with the keys 'id' and 'name' containing * the app id and the app name - * @return null * @since 9.0.0 */ public function registerNotifier(\Closure $service, \Closure $info); |