File tree Expand file tree Collapse file tree 5 files changed +398
-48
lines changed
Expand file tree Collapse file tree 5 files changed +398
-48
lines changed Original file line number Diff line number Diff line change 3232 "phpunit/phpcov" : " ^8.2" ,
3333 "phpunit/phpunit" : " ^9.1" ,
3434 "predis/predis" : " ^1.1 || ^2.0" ,
35- "rector/rector" : " 1.0.3 " ,
35+ "rector/rector" : " 1.0.4 " ,
3636 "vimeo/psalm" : " ^5.0"
3737 },
3838 "replace" : {
Original file line number Diff line number Diff line change @@ -262,8 +262,8 @@ public function getResultObject(): array
262262 * @param string $type The type of result object. 'array', 'object' or class name.
263263 * @phpstan-param class-string<T>|'array'|'object' $type
264264 *
265- * @return array|object|stdClass|null
266- * @phpstan-return ($type is 'object' ? stdClass|null : ($type is 'array' ? array|null : T|null))
265+ * @return array|float|int| object|stdClass|string |null
266+ * @phpstan-return ($n is string ? float|int|string|null : ($ type is 'object' ? stdClass|null : ($type is 'array' ? array|null : T|null) ))
267267 */
268268 public function getRow ($ n = 0 , string $ type = 'object ' )
269269 {
Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ public function getResultObject(): array;
6565 * @param string $type The type of result object. 'array', 'object' or class name.
6666 * @phpstan-param class-string<T>|'array'|'object' $type
6767 *
68- * @return array|object|stdClass|null
69- * @phpstan-return ($type is 'object' ? stdClass|null : ($type is 'array' ? array|null : T|null))
68+ * @return array|float|int| object|stdClass|string |null
69+ * @phpstan-return ($n is string ? float|int|string|null : ($ type is 'object' ? stdClass|null : ($type is 'array' ? array|null : T|null) ))
7070 */
7171 public function getRow ($ n = 0 , string $ type = 'object ' );
7272
You can’t perform that action at this time.
0 commit comments