<table><tr><td style="">mtijink added a comment.
</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/D6342" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>I do not have commit rights, so could you submit it for me? I can supply the two diffs (in two new revisions? Or one here and a separate one?).</p>
<p>Additionally, I was thinking it is useful to move the typehint code to a helper function: it's already used in two places here. Return typehints, which I also plan to add, also need this code.</p>
<p>Actually, php does not have any of the type hints in its grammar. I guess they distinguish between classes and other typehints at a larger stage. We could do that there too, if preferred.</p>
<p>About <tt style="background: #ebebeb; font-size: 13px;">callable</tt>: as far as I found, the DUChain only supports function types like <tt style="background: #ebebeb; font-size: 13px;">int (float, string)</tt>, whereas <tt style="background: #ebebeb; font-size: 13px;">callable</tt> accepts <em>any</em> function, so no signature is known.</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/D6342" rel="noreferrer">https://phabricator.kde.org/D6342</a></div></div><br /><div><strong>To: </strong>mtijink, KDevelop, pprkut<br /><strong>Cc: </strong>apol, kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger<br /></div>