Skip to content

Commit

Permalink
chore: add \OC_Hook to stubs
Browse files Browse the repository at this point in the history
Signed-off-by: Elizabeth Danzberger <[email protected]>
  • Loading branch information
elzody committed Dec 6, 2024
1 parent 3f881a7 commit b47c6be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/stub.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
/**
Expand Down

0 comments on commit b47c6be

Please sign in to comment.