Fix code style
authorMatthias Schmidt <gravatronics@live.com>
Sun, 7 Aug 2016 12:00:00 +0000 (14:00 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 7 Aug 2016 12:00:00 +0000 (14:00 +0200)
wcfsetup/install/files/lib/data/tag/Tag.class.php

index f580b9b0bc7eaa355ac6a5d20c134698d81357fd..ae62f7ff164baa62e275a7fb975263fe05bdc4ad 100644 (file)
@@ -34,7 +34,7 @@ class Tag extends DatabaseObject implements IRouteController {
                $statement = WCF::getDB()->prepareStatement($sql);
                $statement->execute([$languageID, $name]);
                
-               return $statement->fetchObject(Tag::class);
+               return $statement->fetchObject(self::class);
        }
        
        /**