<table><tr><td style="">hmitonneau created this revision.<br />hmitonneau added a project: KDevelop.<br />Herald added a subscriber: kdevelop-devel.<br />hmitonneau requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D24921">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When you use <tt style="background: #ebebeb; font-size: 13px;">foreach ( $a as $e )</tt>, when <tt style="background: #ebebeb; font-size: 13px;">$a</tt> is an 'iterator of x', then type of <tt style="background: #ebebeb; font-size: 13px;">$e</tt> is set to 'x'.</p>

<p>This patch add a syntax in <tt style="background: #ebebeb; font-size: 13px;">@param</tt> and <tt style="background: #ebebeb; font-size: 13px;">@return</tt> to specifiy that <tt style="background: #ebebeb; font-size: 13px;">$a</tt> is an 'array of x`: <tt style="background: #ebebeb; font-size: 13px;">@param x[]</tt>.<br />
This patch add support when <tt style="background: #ebebeb; font-size: 13px;">$a</tt> is an 'array of x'.</p>

<p><a href="https://phabricator.kde.org/F7663472" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F7663472: image.png</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R52 KDevelop: PHP Support</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D24921">https://phabricator.kde.org/D24921</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>duchain/builders/typebuilder.cpp<br />
duchain/builders/typebuilder.h<br />
duchain/tests/duchain.cpp<br />
duchain/tests/duchain.h</div></div></div><br /><div><strong>To: </strong>hmitonneau<br /><strong>Cc: </strong>kdevelop-devel, hmitonneau, christiant, glebaccon, domson, antismap, iodelay, alexeymin, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>