aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib
diff options
context:
space:
mode:
authorFrançois Freitag <mail@franek.fr>2021-05-18 09:22:07 +0200
committerFrançois Freitag <mail@franek.fr>2021-05-18 09:24:05 +0200
commitd88785118337ae395eac03236a20d5979de77938 (patch)
tree334ab128254796d173fd193fcdaa066af311b2a6 /apps/workflowengine/lib
parent83330b8c4ca27b094b4a262dde261a0b767b3f9c (diff)
downloadnextcloud-server-d88785118337ae395eac03236a20d5979de77938.tar.gz
nextcloud-server-d88785118337ae395eac03236a20d5979de77938.zip
Prefer string $file over 1-element array in script()
The string syntax is more obvious. There should be one (and preferably only one) way of doing things. Signed-off-by: François Freitag <mail@franek.fr>
Diffstat (limited to 'apps/workflowengine/lib')
-rw-r--r--apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php b/apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php
index f852dea6a24..b01afbdadee 100644
--- a/apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php
+++ b/apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php
@@ -40,9 +40,7 @@ class LoadAdditionalSettingsScriptsListener implements IEventListener {
class_exists(Template::class, true);
}
- script('core', [
- 'dist/systemtags',
- ]);
+ script('core', 'dist/systemtags');
script(Application::APP_ID, [
'workflowengine',