aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-09-19 11:10:31 +0200
committerprovokateurin <kate@provokateurin.de>2024-09-19 14:21:20 +0200
commit9836e9b16484582d309c8437ab46d82e34956941 (patch)
treed3da87bb7dfd1a8877ed25072ecf609def844089 /lib/private/TemplateLayout.php
parent8c60ffa0f21414e6e671c567d664a9b9e5253e26 (diff)
downloadnextcloud-server-9836e9b16484582d309c8437ab46d82e34956941.tar.gz
nextcloud-server-9836e9b16484582d309c8437ab46d82e34956941.zip
chore(deps): Update nextcloud/coding-standard to v1.3.1
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r--lib/private/TemplateLayout.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php
index 0ef4ec197cf..6c7cec90740 100644
--- a/lib/private/TemplateLayout.php
+++ b/lib/private/TemplateLayout.php
@@ -242,7 +242,7 @@ class TemplateLayout extends \OC_Template {
foreach ($jsFiles as $info) {
$web = $info[1];
$file = $info[2];
- $this->append('jsfiles', $web.'/'.$file . $this->getVersionHashSuffix());
+ $this->append('jsfiles', $web . '/' . $file . $this->getVersionHashSuffix());
}
try {
@@ -275,14 +275,14 @@ class TemplateLayout extends \OC_Template {
$file = $info[2];
if (str_ends_with($file, 'print.css')) {
- $this->append('printcssfiles', $web.'/'.$file . $this->getVersionHashSuffix());
+ $this->append('printcssfiles', $web . '/' . $file . $this->getVersionHashSuffix());
} else {
$suffix = $this->getVersionHashSuffix($web, $file);
if (!str_contains($file, '?v=')) {
- $this->append('cssfiles', $web.'/'.$file . $suffix);
+ $this->append('cssfiles', $web . '/' . $file . $suffix);
} else {
- $this->append('cssfiles', $web.'/'.$file . '-' . substr($suffix, 3));
+ $this->append('cssfiles', $web . '/' . $file . '-' . substr($suffix, 3));
}
}
}