diff --git a/build/.phan/config.php b/build/.phan/config.php index 9aefeafd647f3104e2346e7e0acab6c94ed6599e..0e3e2788510fa25c996f9ae8b376ed8fb8c503ab 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 4f936e8aab5f259d8e149a9d2ef3b1c4e9d55a1a..d18bb88eae6b3e6ef92fe16551ed273e07d2f613 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 4bdaeec3b4935b1346968818861968aebd1fb642..b34769d9b0965ecdac27d513941e7aa984721858 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);