<table><tr><td style="">mtijink created this revision.<br />Restricted Application added a subscriber: kdevelop-devel.
</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/D7034" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This diff adds a new primitive <tt style="background: #ebebeb; font-size: 13px;">callable</tt> type to the PHP language support. This represents anything which can be called as a function in PHP (e.g. a function name as string, a closure, an array with two entries for static class methods, etc.).</p>

<p>Additionally, for return types, when two return types are detected with one being a callable and one an actual function, the return type is set to just a callable.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R52 KDevelop: PHP Support</div></div></div><br /><div><strong>BRANCH</strong><div><div>add_callable_type</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7034" rel="noreferrer">https://phabricator.kde.org/D7034</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>duchain/builders/typebuilder.cpp<br />
duchain/helper.cpp<br />
duchain/tests/duchain.cpp<br />
duchain/tests/duchain.h<br />
duchain/types/integraltypeextended.cpp<br />
duchain/types/integraltypeextended.h</div></div></div><br /><div><strong>To: </strong>mtijink, KDevelop<br /><strong>Cc: </strong>kdevelop-devel<br /></div>