aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-10-06 09:44:29 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2023-10-06 09:44:29 +0200
commitc2d50245991679d89d8cebfa9c9ce4e50b54e7d9 (patch)
treeb4c890e3c623cda4a330325c8841110c8ecac3fd
parentd25712d36bfe0ea1cfddec8a7906c3ced54ccfc9 (diff)
downloadnextcloud-server-feat/database/query-result-fetch-associative-fetch-num.tar.gz
nextcloud-server-feat/database/query-result-fetch-associative-fetch-num.zip
fixup! feat(database): Add replacements for deprecated fetch and fetchAllfeat/database/query-result-fetch-associative-fetch-num
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
-rw-r--r--lib/public/DB/IResult.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/DB/IResult.php b/lib/public/DB/IResult.php
index abf411d4c84..369fa8b1668 100644
--- a/lib/public/DB/IResult.php
+++ b/lib/public/DB/IResult.php
@@ -57,7 +57,7 @@ interface IResult {
* @return mixed
*
* @since 21.0.0
- * @deprecated 28.0.0 use fetchAssociative, fetchNumeric or fetchOne
+ * @deprecated 28.0.0 use fetchAssociative instead of fetch(), fetchNumeric instead of fetch(\PDO::FETCH_NUM) and fetchOne instead of fetch(\PDO::FETCH_COLUMN)
*/
public function fetch(int $fetchMode = PDO::FETCH_ASSOC);
@@ -87,7 +87,7 @@ interface IResult {
* @return mixed[]
*
* @since 21.0.0
- * @deprecated 28.0.0 use fetchAllAssociative, fetchAllNumeric or fetchOne
+ * @deprecated 28.0.0 use fetchAllAssociative instead of fetchAll(), fetchAllNumeric instead of fetchAll(FETCH_NUM) and fetchOne instead of fetchAll(FETCH_COLUMN)
*/
public function fetchAll(int $fetchMode = PDO::FETCH_ASSOC): array;