From 0d84ce83a98bdbe5504ea58ba047259607917285 Mon Sep 17 00:00:00 2001 From: Pebryan Ibrahim <33095305+Pebryan354@users.noreply.github.com> Date: Thu, 4 Apr 2024 10:20:22 +0700 Subject: [PATCH] docs: update return type --- system/Database/BaseResult.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')