File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -260,8 +260,8 @@ public function getResultObject(): array
260
260
* @param string $type The type of result object. 'array', 'object' or class name.
261
261
* @phpstan-param class-string<T>|'array'|'object' $type
262
262
*
263
- * @return array|object|stdClass|null
264
- * @phpstan-return ($type is 'object' ? stdClass|null : ($type is 'array' ? array|null : T|null))
263
+ * @return array|float|int| object|stdClass|string |null
264
+ * @phpstan-return ($n is string ? float|int|string|null : ($ type is 'object' ? stdClass|null : ($type is 'array' ? array|null : T|null) ))
265
265
*/
266
266
public function getRow ($ n = 0 , string $ type = 'object ' )
267
267
{
Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ public function getResultObject(): array;
63
63
* @param string $type The type of result object. 'array', 'object' or class name.
64
64
* @phpstan-param class-string<T>|'array'|'object' $type
65
65
*
66
- * @return array|object|stdClass|null
67
- * @phpstan-return ($type is 'object' ? stdClass|null : ($type is 'array' ? array|null : T|null))
66
+ * @return array|float|int| object|stdClass|string |null
67
+ * @phpstan-return ($n is string ? float|int|string|null : ($ type is 'object' ? stdClass|null : ($type is 'array' ? array|null : T|null) ))
68
68
*/
69
69
public function getRow ($ n = 0 , string $ type = 'object ' );
70
70
You can’t perform that action at this time.
0 commit comments