We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 716d362 commit d6347e6Copy full SHA for d6347e6
system/Database/ResultInterface.php
@@ -63,8 +63,8 @@ public function getResultObject(): array;
63
* @param string $type The type of result object. 'array', 'object' or class name.
64
* @phpstan-param class-string<T>|'array'|'object' $type
65
*
66
- * @return array|object|stdClass|null
67
- * @phpstan-return ($type is 'object' ? stdClass|null : ($type is 'array' ? array|null : T|null))
+ * @return array|float|int|object|stdClass|string|null
+ * @phpstan-return ($n is string ? float|int|string|null : ($type is 'object' ? stdClass|null : ($type is 'array' ? array|null : T|null)))
68
*/
69
public function getRow($n = 0, string $type = 'object');
70
0 commit comments