Mark return types as uses for PHP language

Authored by mtijink on Jul 13 2017, 11:49 AM.



Return types (when they are an object) are now marked as uses.

Note that the return type uses of closures do not actually work. This also happens for normal parameters, so I think this is a separate issue, I'll look into that later.

Diff Detail

R52 KDevelop: PHP Support
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
mtijink created this revision.Jul 13 2017, 11:49 AM
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptJul 13 2017, 11:49 AM
zhigalin accepted this revision.Jul 17 2017, 8:11 AM
zhigalin added a subscriber: zhigalin.

Nice one, thanks

This revision is now accepted and ready to land.Jul 17 2017, 8:11 AM
This revision was automatically updated to reflect the committed changes.