Make PHP-CS happy

This commit is contained in:
Philipp 2022-11-26 22:52:36 +01:00
parent d8ad95ac39
commit 7c058153b5
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432
1 changed files with 2 additions and 2 deletions

View File

@ -88,8 +88,8 @@ class Browser extends BaseModule
protected function map_files(array $record): array
{
[$m1, $m2] = explode('/', $record['filetype']);
$filetype = file_exists(sprintf('images/icons/%s.png', $m1) ? $m1 : 'zip');
list($m1, $m2) = explode('/', $record['filetype']);
$filetype = file_exists(sprintf('images/icons/%s.png', $m1) ? $m1 : 'zip');
return [
sprintf('%s/attach/%s', $this->baseUrl, $record['id']),