Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-07-19 11:08:43 +02:00
parent e96c823f17
commit 591aaa4154
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
3 changed files with 9 additions and 1 deletions

View File

@ -21,7 +21,6 @@ return [
'lib/composer',
'themes',
'lib/',
'apps/files_external/3rdparty',
'apps/',
'core/',
'ocs/',

View File

@ -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);

View File

@ -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);