Skip to content

Commit 716d362

Browse files
Pebryan354kenjis
andauthored
Update system/Database/BaseResult.php
Co-authored-by: kenjis <[email protected]>
1 parent e2ccc91 commit 716d362

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
@@ -261,7 +261,7 @@ public function getResultObject(): array
261261
* @phpstan-param class-string<T>|'array'|'object' $type
262262
*
263263
* @return array|float|int|object|stdClass|string|null
264-
* @phpstan-return ($type is 'object' ? stdClass|null : ($type is 'array' ? array|null : T|null))
264+
* @phpstan-return ($n is string ? float|int|string|null : ($type is 'object' ? stdClass|null : ($type is 'array' ? array|null : T|null)))
265265
*/
266266
public function getRow($n = 0, string $type = 'object')
267267
{

0 commit comments

Comments
 (0)