Skip to content

Commit

Permalink
Adding resource as a possible return parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
devnix committed Jan 31, 2024
1 parent 4be4124 commit 2b442be
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Driver/Result.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<scalar|null>|false
* @return non-empty-list<scalar|resource|null>|false
*
* @throws Exception
*/
Expand All @@ -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<string,scalar|null>|false
* @return non-empty-array<string,scalar|resource|null>|false
*
* @throws Exception
*/
Expand All @@ -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
*/
Expand All @@ -48,7 +48,7 @@ public function fetchAllNumeric(): array;
/**
* Returns an array containing all of the result rows represented as associative arrays.
*
* @return list<non-empty-array<string,scalar|null>>
* @return list<non-empty-array<string,scalar|resource|null>>
*
* @throws Exception
*/
Expand All @@ -57,7 +57,7 @@ public function fetchAllAssociative(): array;
/**
* Returns an array containing the values of the first column of the result.
*
* @return list<scalar|null>
* @return list<scalar|resource|null>
*
* @throws Exception
*/
Expand Down

0 comments on commit 2b442be

Please sign in to comment.