Extra white space to follow other ifs

Signed-off-by: lui87kw <lukas.ifflaender@uni-wuerzburg.de>
This commit is contained in:
lui87kw 2020-07-14 23:36:23 +02:00 committed by backportbot[bot]
parent 0057f85ad7
commit 3952be00ec

View file

@ -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');