Community
Participate
Working Groups
Lot's of PHP libraries use @param callback rather than @param callable or event php type hint callable. We should ignore it in @param in same way like in other phpdoc types.
Sorry Dawid I don't really understand ;) You mean that "@param callback" should be handled like "@param callable" ?
Exactly, ignore in same way like mixed, callable, etc...
Ok ;) I've seen a strange thing in class PHPSimpleTypes: shouldn't public static final IEvaluatedType ITERABLE = new PHPClassType("callable"); be public static final IEvaluatedType ITERABLE = new PHPClassType("iterable"); ? Michal did this modification for bug 519750, maybe he knows why he did that ;) Thierry.
(In reply to Thierry BLIND from comment #3) > Ok ;) > > I've seen a strange thing in class PHPSimpleTypes: > shouldn't > > public static final IEvaluatedType ITERABLE = new PHPClassType("callable"); > > be > > public static final IEvaluatedType ITERABLE = new PHPClassType("iterable"); > > ? > > Michal did this modification for bug 519750, maybe he knows why he did that > ;) > > Thierry. Typo fixed in https://git.eclipse.org/r/#/c/117895/
New Gerrit change created: https://git.eclipse.org/r/118311
Gerrit change https://git.eclipse.org/r/118311 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=300a7ea3cef32c0b698ff40c45222ee9c00a8043
Fixed.