File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -77,10 +77,13 @@ public function dataProcess(): array
77
77
78
78
// #3
79
79
$ dataSets [] = [
80
- [],
80
+ [
81
+ 'useReflection ' => true ,
82
+ ],
81
83
__DIR__ .'/fixtures/Class3.php ' ,
82
84
[
83
85
'007 Add type declaration for parameter $arg1 or create PHPDoc with type hint ' ,
86
+ '022 Missing @inheritDoc tag ' ,
84
87
'027 Add "null" type hint in PHPDoc for parameter $arg1 ' ,
85
88
'042 Add "null" type hint in PHPDoc for return value ' ,
86
89
]
Original file line number Diff line number Diff line change @@ -44,4 +44,27 @@ public function func4(): int
44
44
public function func5 (): ?int
45
45
{
46
46
}
47
+
48
+ /**
49
+ * Description
50
+ * @return int
51
+ */
52
+ public function func6 (): int
53
+ {
54
+ }
55
+
56
+
57
+ /**
58
+ * @param int $param1 description
59
+ */
60
+ public function func7 (int $ param1 ): void
61
+ {
62
+ }
63
+
64
+ /**
65
+ * @return int|string
66
+ */
67
+ public function func8 (): int
68
+ {
69
+ }
47
70
}
You can’t perform that action at this time.
0 commit comments