File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -193,22 +193,10 @@ public function tokenize() {
193
193
$ trait === false &&
194
194
$ interface === false ) {
195
195
$ this ->functions [$ name ] = $ tmp ;
196
-
197
- for ($ line = $ tmp ['startLine ' ]; $ line <= $ tmp ['endLine ' ]; $ line ++) {
198
- $ this ->lineToFunctionMap [$ line ] = $ name ;
199
- }
200
196
} elseif ($ class !== false ) {
201
197
$ this ->classes [$ class ]['methods ' ][$ name ] = $ tmp ;
202
-
203
- for ($ line = $ tmp ['startLine ' ]; $ line <= $ tmp ['endLine ' ]; $ line ++) {
204
- $ this ->lineToFunctionMap [$ line ] = $ class . ':: ' . $ name ;
205
- }
206
198
} elseif ($ trait !== false ) {
207
199
$ this ->traits [$ trait ]['methods ' ][$ name ] = $ tmp ;
208
-
209
- for ($ line = $ tmp ['startLine ' ]; $ line <= $ tmp ['endLine ' ]; $ line ++) {
210
- $ this ->lineToFunctionMap [$ line ] = $ trait . ':: ' . $ name ;
211
- }
212
200
} else {
213
201
$ this ->interfaces [$ interface ]['methods ' ][$ name ] = $ tmp ;
214
202
}
You can’t perform that action at this time.
0 commit comments