summaryrefslogtreecommitdiffstats
path: root/lib/private/Template/JSConfigHelper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Template/JSConfigHelper.php')
-rw-r--r--lib/private/Template/JSConfigHelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Template/JSConfigHelper.php b/lib/private/Template/JSConfigHelper.php
index ec11e8456d1..781cb0d7794 100644
--- a/lib/private/Template/JSConfigHelper.php
+++ b/lib/private/Template/JSConfigHelper.php
@@ -298,7 +298,7 @@ class JSConfigHelper {
}
// Allow hooks to modify the output values
- \OC_Hook::emit('\OCP\Config', 'js', array('array' => &$array));
+ \OC_Hook::emit('\OCP\Config', 'js', ['array' => &$array]);
$result = '';