Help IDEs recognize return type of `AbstractDatabaseTableColumn::create()`
authorMatthias Schmidt <gravatronics@live.com>
Sun, 6 Oct 2019 12:05:53 +0000 (14:05 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 6 Oct 2019 12:05:53 +0000 (14:05 +0200)
wcfsetup/install/files/lib/system/database/table/column/AbstractDatabaseTableColumn.class.php

index 1efa602041fd1634c626da7ea98ae4af5c490af0..3ca213c3cfb168d647bf885e8de43e234c4ac2a6 100644 (file)
@@ -152,6 +152,7 @@ abstract class AbstractDatabaseTableColumn implements IDatabaseTableColumn {
        
        /**
         * @inheritDoc
+        * @return      static
         */
        public static function create($name) {
                return (new static())->name($name);