Fixed code style.

This commit is contained in:
Jan Böhmer 2020-08-21 21:36:22 +02:00
parent 2853e471c4
commit d0b1024d80
212 changed files with 495 additions and 1005 deletions

View file

@ -81,12 +81,11 @@ final class AttachmentDataTable implements DataTableTypeInterface
'label' => '',
'render' => function ($value, Attachment $context) {
if ($context->isPicture()
&& ! $context->isExternal()
&& !$context->isExternal()
&& $this->attachmentHelper->isFileExisting($context)) {
$title = htmlspecialchars($context->getName());
if ($context->getFilename()) {
$title .= ' (' . htmlspecialchars($context->getFilename()) . ')';
$title .= ' ('.htmlspecialchars($context->getFilename()).')';
}
return sprintf(