Skip to content

Commit 2b442be

Browse files
committed
Adding resource as a possible return parameter
1 parent 4be4124 commit 2b442be

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Driver/Result.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ interface Result
1212
/**
1313
* Returns the next row of the result as a numeric array or FALSE if there are no more rows.
1414
*
15-
* @return non-empty-list<scalar|null>|false
15+
* @return non-empty-list<scalar|resource|null>|false
1616
*
1717
* @throws Exception
1818
*/
@@ -21,7 +21,7 @@ public function fetchNumeric(): array|false;
2121
/**
2222
* Returns the next row of the result as an associative array or FALSE if there are no more rows.
2323
*
24-
* @return non-empty-array<string,scalar|null>|false
24+
* @return non-empty-array<string,scalar|resource|null>|false
2525
*
2626
* @throws Exception
2727
*/
@@ -30,7 +30,7 @@ public function fetchAssociative(): array|false;
3030
/**
3131
* Returns the first value of the next row of the result or FALSE if there are no more rows.
3232
*
33-
* @return scalar|null|false
33+
* @return scalar|resource|null|false
3434
*
3535
* @throws Exception
3636
*/
@@ -48,7 +48,7 @@ public function fetchAllNumeric(): array;
4848
/**
4949
* Returns an array containing all of the result rows represented as associative arrays.
5050
*
51-
* @return list<non-empty-array<string,scalar|null>>
51+
* @return list<non-empty-array<string,scalar|resource|null>>
5252
*
5353
* @throws Exception
5454
*/
@@ -57,7 +57,7 @@ public function fetchAllAssociative(): array;
5757
/**
5858
* Returns an array containing the values of the first column of the result.
5959
*
60-
* @return list<scalar|null>
60+
* @return list<scalar|resource|null>
6161
*
6262
* @throws Exception
6363
*/

0 commit comments

Comments
 (0)