From 2b442be9652375fc86fe278c34795a55315ea660 Mon Sep 17 00:00:00 2001 From: Pablo Largo Mohedano Date: Wed, 31 Jan 2024 08:41:19 +0100 Subject: [PATCH] Adding `resource` as a possible return parameter --- src/Driver/Result.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Driver/Result.php b/src/Driver/Result.php index 6236dbcac27..e3cc4bb6feb 100644 --- a/src/Driver/Result.php +++ b/src/Driver/Result.php @@ -12,7 +12,7 @@ interface Result /** * Returns the next row of the result as a numeric array or FALSE if there are no more rows. * - * @return non-empty-list|false + * @return non-empty-list|false * * @throws Exception */ @@ -21,7 +21,7 @@ public function fetchNumeric(): array|false; /** * Returns the next row of the result as an associative array or FALSE if there are no more rows. * - * @return non-empty-array|false + * @return non-empty-array|false * * @throws Exception */ @@ -30,7 +30,7 @@ public function fetchAssociative(): array|false; /** * Returns the first value of the next row of the result or FALSE if there are no more rows. * - * @return scalar|null|false + * @return scalar|resource|null|false * * @throws Exception */ @@ -48,7 +48,7 @@ public function fetchAllNumeric(): array; /** * Returns an array containing all of the result rows represented as associative arrays. * - * @return list> + * @return list> * * @throws Exception */ @@ -57,7 +57,7 @@ public function fetchAllAssociative(): array; /** * Returns an array containing the values of the first column of the result. * - * @return list + * @return list * * @throws Exception */