D7034: Add callable type to PHP

Alexander Zhigalin noreply at phabricator.kde.org
Tue Aug 1 18:25:00 UTC 2017


zhigalin requested changes to this revision.
zhigalin added a comment.
This revision now requires changes to proceed.


  Rest LGTM

INLINE COMMENTS

> duchain.cpp:751
> +{
> +    QByteArray method("<? function foo(callable $i) { return $i; return function () {}; } ");
> +

For `return $i();` the return type should be mixed, not callable

REPOSITORY
  R52 KDevelop: PHP Support

REVISION DETAIL
  https://phabricator.kde.org/D7034

To: mtijink, #kdevelop, zhigalin
Cc: zhigalin, kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170801/f01cc1fa/attachment.html>


More information about the KDevelop-devel mailing list