From: Tim Düsterhus Date: Mon, 23 Nov 2020 11:45:43 +0000 (+0100) Subject: Deprecated PreparedStatement::fetchList() X-Git-Tag: 5.4.0_Alpha_1~591 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ad4fea7d708e0a2d6440bfe19def85dc417b18c2;p=GitHub%2FWoltLab%2FWCF.git Deprecated PreparedStatement::fetchList() Resolves #3742 --- diff --git a/wcfsetup/install/files/lib/system/database/statement/PreparedStatement.class.php b/wcfsetup/install/files/lib/system/database/statement/PreparedStatement.class.php index 37e43df7ae..e83091bed0 100644 --- a/wcfsetup/install/files/lib/system/database/statement/PreparedStatement.class.php +++ b/wcfsetup/install/files/lib/system/database/statement/PreparedStatement.class.php @@ -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 = [];