@@ -113,12 +113,18 @@ public function testProcessFile()
113113 'param ' => '$param1 ' ,
114114 'param-type ' => 'int ' ,
115115 'doc-type ' => 'int|null ' ,
116+ ], [
117+ 'type ' => 'return-missing ' ,
118+ 'file ' => 'TestClass.php ' ,
119+ 'class ' => 'Test\Example\TestClass ' ,
120+ 'method ' => 'test124 ' ,
121+ 'line ' => 80 ,
116122 ], [
117123 'type ' => 'param-mismatch ' ,
118124 'file ' => 'TestClass.php ' ,
119125 'class ' => 'Test\Example\TestClass ' ,
120126 'method ' => 'test132 ' ,
121- 'line ' => 80 ,
127+ 'line ' => 107 ,
122128 'param ' => '$param1 ' ,
123129 'param-type ' => 'int|null ' ,
124130 'doc-type ' => 'int ' ,
@@ -127,15 +133,15 @@ public function testProcessFile()
127133 'file ' => 'TestClass.php ' ,
128134 'class ' => 'Test\Example\TestClass ' ,
129135 'method ' => 'test132 ' ,
130- 'line ' => 80 ,
136+ 'line ' => 107 ,
131137 'return-type ' => 'bool|null ' ,
132138 'doc-type ' => 'bool ' ,
133139 ], [
134140 'type ' => 'param-mismatch ' ,
135141 'file ' => 'TestClass.php ' ,
136142 'class ' => 'Test\Example\TestClass ' ,
137143 'method ' => 'test141 ' ,
138- 'line ' => 107 ,
144+ 'line ' => 134 ,
139145 'param ' => '$param1 ' ,
140146 'param-type ' => 'int|float ' ,
141147 'doc-type ' => 'int ' ,
@@ -144,7 +150,7 @@ public function testProcessFile()
144150 'file ' => 'TestClass.php ' ,
145151 'class ' => 'Test\Example\TestClass ' ,
146152 'method ' => 'test141 ' ,
147- 'line ' => 107 ,
153+ 'line ' => 134 ,
148154 'return-type ' => 'bool|int ' ,
149155 'doc-type ' => 'bool ' ,
150156 ]
0 commit comments