summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/.phan/config.php1
-rw-r--r--lib/private/Hooks/LegacyEmitter.php7
-rw-r--r--lib/private/Hooks/PublicEmitter.php2
3 files changed, 9 insertions, 1 deletions
diff --git a/build/.phan/config.php b/build/.phan/config.php
index 9aefeafd647..0e3e2788510 100644
--- a/build/.phan/config.php
+++ b/build/.phan/config.php
@@ -21,7 +21,6 @@ return [
'lib/composer',
'themes',
'lib/',
- 'apps/files_external/3rdparty',
'apps/',
'core/',
'ocs/',
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);
diff --git a/lib/private/Hooks/PublicEmitter.php b/lib/private/Hooks/PublicEmitter.php
index 4bdaeec3b49..b34769d9b09 100644
--- a/lib/private/Hooks/PublicEmitter.php
+++ b/lib/private/Hooks/PublicEmitter.php
@@ -28,6 +28,8 @@ class PublicEmitter extends BasicEmitter {
* @param string $scope
* @param string $method
* @param array $arguments optional
+ *
+ * @suppress PhanAccessMethodProtected
*/
public function emit($scope, $method, array $arguments = array()) {
parent::emit($scope, $method, $arguments);