Make PHP-CS happy
This commit is contained in:
parent
d8ad95ac39
commit
7c058153b5
|
@ -88,8 +88,8 @@ class Browser extends BaseModule
|
||||||
|
|
||||||
protected function map_files(array $record): array
|
protected function map_files(array $record): array
|
||||||
{
|
{
|
||||||
[$m1, $m2] = explode('/', $record['filetype']);
|
list($m1, $m2) = explode('/', $record['filetype']);
|
||||||
$filetype = file_exists(sprintf('images/icons/%s.png', $m1) ? $m1 : 'zip');
|
$filetype = file_exists(sprintf('images/icons/%s.png', $m1) ? $m1 : 'zip');
|
||||||
|
|
||||||
return [
|
return [
|
||||||
sprintf('%s/attach/%s', $this->baseUrl, $record['id']),
|
sprintf('%s/attach/%s', $this->baseUrl, $record['id']),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user