Skip to content

Commit

Permalink
fixup! feat(database): Add replacements for deprecated fetch and fetc…
Browse files Browse the repository at this point in the history
…hAll

Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst committed Oct 6, 2023
1 parent d25712d commit c2d5024
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/public/DB/IResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function closeCursor(): bool;
* @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);

Expand Down Expand Up @@ -87,7 +87,7 @@ public function fetchAllAssociative(): array;
* @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;

Expand Down

0 comments on commit c2d5024

Please sign in to comment.