summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-05 13:00:56 +0200
committerJoas Schilling <coding@schilljs.com>2016-09-05 13:00:56 +0200
commitfb04c5682719b27f31c633bdb8130fc6b0a53385 (patch)
tree4c0c49af6042c810dff9c9fa1142a50f6a6bd372
parent8b484eedf029b8e1a9dcef0efb09db381888c4b0 (diff)
downloadnextcloud-server-fb04c5682719b27f31c633bdb8130fc6b0a53385.tar.gz
nextcloud-server-fb04c5682719b27f31c633bdb8130fc6b0a53385.zip
Null !== void, those methods are void
-rw-r--r--lib/private/Notification/Manager.php3
-rw-r--r--lib/public/Notification/IApp.php2
-rw-r--r--lib/public/Notification/IManager.php2
3 files changed, 0 insertions, 7 deletions
diff --git a/lib/private/Notification/Manager.php b/lib/private/Notification/Manager.php
index a079561f5c9..ec831cf9793 100644
--- a/lib/private/Notification/Manager.php
+++ b/lib/private/Notification/Manager.php
@@ -60,7 +60,6 @@ class Manager implements IManager {
/**
* @param \Closure $service The service must implement IApp, otherwise a
* \InvalidArgumentException is thrown later
- * @return null
* @since 8.2.0
*/
public function registerApp(\Closure $service) {
@@ -73,7 +72,6 @@ class Manager implements IManager {
* \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 8.2.0 - Parameter $info was added in 9.0.0
*/
public function registerNotifier(\Closure $service, \Closure $info) {
@@ -164,7 +162,6 @@ class Manager implements IManager {
/**
* @param INotification $notification
- * @return null
* @throws \InvalidArgumentException When the notification is not valid
* @since 8.2.0
*/
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);