summaryrefslogtreecommitdiffstats
path: root/lib/private/Hooks/LegacyEmitter.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Hooks/LegacyEmitter.php')
-rw-r--r--lib/private/Hooks/LegacyEmitter.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/Hooks/LegacyEmitter.php b/lib/private/Hooks/LegacyEmitter.php
index 4f936e8aab5..d18bb88eae6 100644
--- a/lib/private/Hooks/LegacyEmitter.php
+++ b/lib/private/Hooks/LegacyEmitter.php
@@ -24,6 +24,13 @@
namespace OC\Hooks;
abstract class LegacyEmitter extends BasicEmitter {
+ /**
+ * @param string $scope
+ * @param string $method
+ * @param array $arguments
+ *
+ * @suppress PhanAccessMethodProtected
+ */
protected function emit($scope, $method, array $arguments = array()) {
\OC_Hook::emit($scope, $method, $arguments);
parent::emit($scope, $method, $arguments);