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 e2ccc91 commit 716d362Copy full SHA for 716d362
system/Database/BaseResult.php
@@ -261,7 +261,7 @@ public function getResultObject(): array
261
* @phpstan-param class-string<T>|'array'|'object' $type
262
*
263
* @return array|float|int|object|stdClass|string|null
264
- * @phpstan-return ($type is 'object' ? stdClass|null : ($type is 'array' ? array|null : T|null))
+ * @phpstan-return ($n is string ? float|int|string|null : ($type is 'object' ? stdClass|null : ($type is 'array' ? array|null : T|null)))
265
*/
266
public function getRow($n = 0, string $type = 'object')
267
{
0 commit comments