소스 검색

Null !== void, those methods are void

tags/v11.0RC2
Joas Schilling 7 년 전
부모
커밋
fb04c56827
No account linked to committer's email address
3개의 변경된 파일0개의 추가작업 그리고 7개의 파일을 삭제
  1. 0
    3
      lib/private/Notification/Manager.php
  2. 0
    2
      lib/public/Notification/IApp.php
  3. 0
    2
      lib/public/Notification/IManager.php

+ 0
- 3
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
*/

+ 0
- 2
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);

+ 0
- 2
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);

Loading…
취소
저장