diff options
author | François Freitag <mail@franek.fr> | 2021-05-18 09:22:07 +0200 |
---|---|---|
committer | François Freitag <mail@franek.fr> | 2021-05-18 09:24:05 +0200 |
commit | d88785118337ae395eac03236a20d5979de77938 (patch) | |
tree | 334ab128254796d173fd193fcdaa066af311b2a6 /apps/settings | |
parent | 83330b8c4ca27b094b4a262dde261a0b767b3f9c (diff) | |
download | nextcloud-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/settings')
-rw-r--r-- | apps/settings/templates/settings/personal/security/authtokens.php | 4 | ||||
-rw-r--r-- | apps/settings/templates/settings/personal/security/webauthn.php | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/apps/settings/templates/settings/personal/security/authtokens.php b/apps/settings/templates/settings/personal/security/authtokens.php index 1db0d91fe69..e90698f5eaf 100644 --- a/apps/settings/templates/settings/personal/security/authtokens.php +++ b/apps/settings/templates/settings/personal/security/authtokens.php @@ -22,9 +22,7 @@ declare(strict_types=1); * */ -script('settings', [ - 'vue-settings-personal-security', -]); +script('settings', 'vue-settings-personal-security'); ?> diff --git a/apps/settings/templates/settings/personal/security/webauthn.php b/apps/settings/templates/settings/personal/security/webauthn.php index 268e06aef7d..74e219a5211 100644 --- a/apps/settings/templates/settings/personal/security/webauthn.php +++ b/apps/settings/templates/settings/personal/security/webauthn.php @@ -22,9 +22,7 @@ declare(strict_types=1); * */ -script('settings', [ - 'vue-settings-personal-webauthn', -]); +script('settings', 'vue-settings-personal-webauthn'); ?> |