summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlui87kw <lukas.ifflaender@uni-wuerzburg.de>2020-07-14 23:36:23 +0200
committerlui87kw <lukas.ifflaender@uni-wuerzburg.de>2020-07-15 10:18:47 +0200
commit3fe3d1fca32a033692201705bb59992f140e8799 (patch)
treeb1a542c2ecc813966bf88f80b4947f0a6a090091
parent7dafd5831fad2c2be79c3df81fb973c00ec76287 (diff)
downloadnextcloud-server-3fe3d1fca32a033692201705bb59992f140e8799.tar.gz
nextcloud-server-3fe3d1fca32a033692201705bb59992f140e8799.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 34caf072d98..bfca6dabd2f 100644
--- a/lib/private/Files/Type/Detection.php
+++ b/lib/private/Files/Type/Detection.php
@@ -374,7 +374,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');