Improve IDE support in AttachmentBBCode
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 26 Apr 2021 14:48:42 +0000 (16:48 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 26 Apr 2021 14:49:00 +0000 (16:49 +0200)
wcfsetup/install/files/lib/system/bbcode/AttachmentBBCode.class.php

index 735fd7a5df430e05c5fbe3bda94572a5c57b5f17..d1de184637b3f008cc0351b48006804157902d45 100644 (file)
@@ -57,7 +57,7 @@ class AttachmentBBCode extends AbstractBBCode
             }
         }
 
-        // get embedded object
+        /** @var Attachment $attachment */
         $attachment = MessageEmbeddedObjectManager::getInstance()->getObject(
             'com.woltlab.wcf.attachment',
             $attachmentID