Passed
Push — master ( 3e4f5a...05d6b0 )
by Jan
04:28
created
src/DataTables/Column/PartAttachmentsColumn.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             throw new \RuntimeException('$context must be a Part object!');
62 62
         }
63 63
         $tmp = "";
64
-        $attachments = $context->getAttachments()->filter(function (Attachment $attachment) {
64
+        $attachments = $context->getAttachments()->filter(function(Attachment $attachment) {
65 65
             return $attachment->getShowInTable();
66 66
         });
67 67
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
             $tmp .= sprintf(
76 76
                 '<a href="%s" title="%s" class="attach-table-icon" target="_blank" rel="noopener" data-no-ajax>%s</a>',
77 77
                 $this->urlGenerator->getViewURL($attachment),
78
-                $attachment->getName() . ': ' . $attachment->getFilename(),
78
+                $attachment->getName().': '.$attachment->getFilename(),
79 79
                 $this->FAIconGenerator->generateIconHTML(
80 80
                     $this->FAIconGenerator->fileExtensionToFAType($attachment->getExtension()),
81 81
                     'fas',
Please login to merge, or discard this patch.