Skip to content

Commit e2ccc91

Browse files
authored
add: return type int & float
1 parent 0d84ce8 commit e2ccc91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Database/BaseResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public function getResultObject(): array
260260
* @param string $type The type of result object. 'array', 'object' or class name.
261261
* @phpstan-param class-string<T>|'array'|'object' $type
262262
*
263-
* @return array|object|stdClass|null|string
263+
* @return array|float|int|object|stdClass|string|null
264264
* @phpstan-return ($type is 'object' ? stdClass|null : ($type is 'array' ? array|null : T|null))
265265
*/
266266
public function getRow($n = 0, string $type = 'object')

0 commit comments

Comments
 (0)