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 32
32
"phpunit/phpcov" : " ^8.2" ,
33
33
"phpunit/phpunit" : " ^9.1" ,
34
34
"predis/predis" : " ^1.1 || ^2.0" ,
35
- "rector/rector" : " 1.0.3 " ,
35
+ "rector/rector" : " 1.0.4 " ,
36
36
"vimeo/psalm" : " ^5.0"
37
37
},
38
38
"replace" : {
Original file line number Diff line number Diff line change @@ -262,8 +262,8 @@ public function getResultObject(): array
262
262
* @param string $type The type of result object. 'array', 'object' or class name.
263
263
* @phpstan-param class-string<T>|'array'|'object' $type
264
264
*
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) ))
267
267
*/
268
268
public function getRow ($ n = 0 , string $ type = 'object ' )
269
269
{
Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ public function getResultObject(): array;
65
65
* @param string $type The type of result object. 'array', 'object' or class name.
66
66
* @phpstan-param class-string<T>|'array'|'object' $type
67
67
*
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) ))
70
70
*/
71
71
public function getRow ($ n = 0 , string $ type = 'object ' );
72
72
You can’t perform that action at this time.
0 commit comments