D24921: [KDevelop/PHP] Add support for "array of type"
Hugues Mitonneau
noreply at phabricator.kde.org
Thu Oct 24 14:47:10 BST 2019
hmitonneau created this revision.
hmitonneau added a project: KDevelop.
Herald added a subscriber: kdevelop-devel.
hmitonneau requested review of this revision.
REVISION SUMMARY
When you use `foreach ( $a as $e )`, when `$a` is an 'iterator of x', then type of `$e` is set to 'x'.
This patch add a syntax in `@param` and `@return` to specifiy that `$a` is an 'array of x`: `@param x[]`.
This patch add support when `$a` is an 'array of x'.
F7663472: image.png <https://phabricator.kde.org/F7663472>
REPOSITORY
R52 KDevelop: PHP Support
REVISION DETAIL
https://phabricator.kde.org/D24921
AFFECTED FILES
duchain/builders/typebuilder.cpp
duchain/builders/typebuilder.h
duchain/tests/duchain.cpp
duchain/tests/duchain.h
To: hmitonneau
Cc: kdevelop-devel, hmitonneau, christiant, glebaccon, domson, antismap, iodelay, alexeymin, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20191024/ab678ef1/attachment-0001.html>
More information about the KDevelop-devel
mailing list