aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlui87kw <lukas.ifflaender@uni-wuerzburg.de>2020-07-14 23:36:23 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-11-25 11:55:16 +0000
commitaecf4eff27899eca15fdfb9519ba43f97a822f28 (patch)
tree8c6a603d9eadbf1c34dad519b7ddce7950fd70c8
parent43e401e3a2b9de894ee22e721dc97a0b73142554 (diff)
downloadnextcloud-server-aecf4eff27899eca15fdfb9519ba43f97a822f28.tar.gz
nextcloud-server-aecf4eff27899eca15fdfb9519ba43f97a822f28.zip
Extra white space to follow other ifs
Signed-off-by: lui87kw <lukas.ifflaender@uni-wuerzburg.de>
-rw-r--r--lib/private/Files/Type/Detection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Type/Detection.php b/lib/private/Files/Type/Detection.php
index 4786083ba1e..f7a1aed41a0 100644
--- a/lib/private/Files/Type/Detection.php
+++ b/lib/private/Files/Type/Detection.php
@@ -380,7 +380,7 @@ class Detection implements IMimeTypeDetector {
// Try only the first part of the filetype
- if(strpos($icon, '-')) {
+ if (strpos($icon, '-')) {
$mimePart = substr($icon, 0, strpos($icon, '-'));
try {
$this->mimetypeIcons[$mimetype] = $this->urlGenerator->imagePath('core', 'filetypes/' . $mimePart . '.svg');