Skip to content

Commit d6347e6

Browse files
authored
apply suggestion
1 parent 716d362 commit d6347e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Database/ResultInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ public function getResultObject(): array;
6363
* @param string $type The type of result object. 'array', 'object' or class name.
6464
* @phpstan-param class-string<T>|'array'|'object' $type
6565
*
66-
* @return array|object|stdClass|null
67-
* @phpstan-return ($type is 'object' ? stdClass|null : ($type is 'array' ? array|null : T|null))
66+
* @return array|float|int|object|stdClass|string|null
67+
* @phpstan-return ($n is string ? float|int|string|null : ($type is 'object' ? stdClass|null : ($type is 'array' ? array|null : T|null)))
6868
*/
6969
public function getRow($n = 0, string $type = 'object');
7070

0 commit comments

Comments
 (0)