From d7919497b6c1132b834a1b2050f5639b68963b16 Mon Sep 17 00:00:00 2001 From: chandi Langecker Date: Wed, 9 Nov 2022 00:42:47 +0100 Subject: [PATCH] stub OCA\NotifyPush\Queue\IQueue Signed-off-by: chandi Langecker --- psalm.xml | 1 - tests/stub.phpstub | 13 +++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/psalm.xml b/psalm.xml index 5e2ca45de..178ff30fd 100644 --- a/psalm.xml +++ b/psalm.xml @@ -42,7 +42,6 @@ - diff --git a/tests/stub.phpstub b/tests/stub.phpstub index a5ab068eb..156fff6ff 100644 --- a/tests/stub.phpstub +++ b/tests/stub.phpstub @@ -661,3 +661,16 @@ namespace OC\Files\Storage\Wrapper{ public function getQuota() {} } } + + +namespace OCA\NotifyPush\Queue { + + interface IQueue { + /** + * @param string $channel + * @param mixed $message + * @return void + */ + public function push(string $channel, $message); + } +} \ No newline at end of file