D24921: [KDevelop/PHP] Add support for "array of type"

Hugues Mitonneau <noreply-Buy57tU0AsCGxO/ty/[email protected]>
Newsgroups gmane.comp.kde.devel.kdevelop
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.