Skip to content

Commit

Permalink
docs: update return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Pebryan354 authored Apr 4, 2024
1 parent 9bf27a1 commit 0d84ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Database/BaseResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>|'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')
Expand Down

0 comments on commit 0d84ce8

Please sign in to comment.