Deprecated PreparedStatement::fetchList()
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 23 Nov 2020 11:45:43 +0000 (12:45 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 23 Nov 2020 11:45:43 +0000 (12:45 +0100)
Resolves #3742

wcfsetup/install/files/lib/system/database/statement/PreparedStatement.class.php

index 37e43df7ae1c2825c39f01e7306080d8d428ee98..e83091bed07f93a5a657ed3f9cc2b5b60f361bcc 100644 (file)
@@ -242,11 +242,7 @@ class PreparedStatement {
        }
        
        /**
-        * Returns a one-dimensional list of all rows holding only the value of the specified column. Please see
-        * `fetchAll()` if you simply want to read all rows into an array. 
-        * 
-        * @param string $column
-        * @return string[]|int[]|float[]
+        * @deprecated 5.4 - Use ->fetchAll(\PDO::FETCH_COLUMN)
         */
        public function fetchList($column) {
                $list = [];