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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Hooks/LegacyEmitter.php b/lib/private/Hooks/LegacyEmitter.php
index 9d4051e5899..84f8b7b413e 100644
--- a/lib/private/Hooks/LegacyEmitter.php
+++ b/lib/private/Hooks/LegacyEmitter.php
@@ -32,7 +32,7 @@ abstract class LegacyEmitter extends BasicEmitter {
*
* @suppress PhanAccessMethodProtected
*/
- protected function emit($scope, $method, array $arguments = array()) {
+ protected function emit($scope, $method, array $arguments = []) {
\OC_Hook::emit($scope, $method, $arguments);
parent::emit($scope, $method, $arguments);
}