Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlui87kw <lukas.ifflaender@uni-wuerzburg.de>2020-07-15 00:36:23 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-11-25 14:55:21 +0300
commit3952be00eced8cdc069c9ca54cef3d7b428d8e6c (patch)
treedfaacf827fcea69b47183eadd39b412fae4c5e8e
parent0057f85ad7340e34369e7a3eb23339777b96492a (diff)
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 0a9de12700b..9e85115f0a9 100644
--- a/lib/private/Files/Type/Detection.php
+++ b/lib/private/Files/Type/Detection.php
@@ -381,7 +381,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');