]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/Api/AttachmentApiController.php
Fixed phpstan wanring about usage of static
[bookstack] / app / Http / Controllers / Api / AttachmentApiController.php
index 2476cb95195ad56c0063031005be93b2ee1b43dd..7059ca28248456f8e1fc027fc7a39b4a37e13a56 100644 (file)
@@ -90,6 +90,7 @@ class AttachmentApiController extends ApiController
         // Simply return a JSON response of the attachment for link-based attachments
         if ($attachment->external) {
             $attachment->setAttribute('content', $attachment->path);
+
             return response()->json($attachment);
         }