fixup! feat(database): Add replacements for deprecated fetch and fetchAll

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/40655/head
Christoph Wurst 2023-10-06 09:44:29 +07:00
parent d25712d36b
commit c2d5024599
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
1 changed files with 2 additions and 2 deletions

@ -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;