Fix warning about undefined class
authorMatthias Schmidt <gravatronics@live.com>
Fri, 24 Jun 2016 11:35:03 +0000 (13:35 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 24 Jun 2016 11:37:45 +0000 (13:37 +0200)
wcfsetup/install/files/lib/data/article/ViewableArticle.class.php

index 8a064d1f3e2b38dee050dc83a0ad4f12be843def..82964ebaed2e745f1338151ac2de400eb4bdc4ea 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 namespace wcf\data\article;
 use wcf\data\article\content\ViewableArticleContent;
+use wcf\data\media\ViewableMedia;
 use wcf\data\user\User;
 use wcf\data\user\UserProfile;
 use wcf\data\DatabaseObjectDecorator;
@@ -82,8 +83,8 @@ class ViewableArticle extends DatabaseObjectDecorator {
        
        /**
         * Returns the article's image.
-        *
-        * @return      ViewableMedia|null
+        * 
+        * @return      ViewableMedia|null
         */
        public function getImage() {
                if ($this->getArticleContent() !== null) {