From b47c6be4a5edaba9f23397e83707387d05c406bb Mon Sep 17 00:00:00 2001 From: Elizabeth Danzberger Date: Fri, 6 Dec 2024 10:03:26 -0500 Subject: [PATCH] chore: add `\OC_Hook` to stubs Signed-off-by: Elizabeth Danzberger --- tests/stub.phpstub | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/stub.phpstub b/tests/stub.phpstub index 107cd2fde9..d8d0220fc9 100644 --- a/tests/stub.phpstub +++ b/tests/stub.phpstub @@ -7,6 +7,10 @@ class OC_User { public static function setIncognitoMode($status) {} } +class OC_Hook { + public static function emit($signalClass, $signalName, $params = []); +} + namespace OC\Hooks { interface Emitter { /**