diff --git a/system/Database/BaseResult.php b/system/Database/BaseResult.php index 8a624029b3a2..4ef73d6d210a 100644 --- a/system/Database/BaseResult.php +++ b/system/Database/BaseResult.php @@ -260,7 +260,7 @@ public function getResultObject(): array * @param string $type The type of result object. 'array', 'object' or class name. * @phpstan-param class-string|'array'|'object' $type * - * @return array|object|stdClass|null + * @return array|object|stdClass|null|string * @phpstan-return ($type is 'object' ? stdClass|null : ($type is 'array' ? array|null : T|null)) */ public function getRow($n = 0, string $type = 'object')