Getting PDT code completion to recognise runtime return types from base class?
- by Keith Humm
Hi guys,
I've got an abstract base class:
abstract class BaseClass {
/**
* @return CLASSNAME
*/
public function fluent() {
// do stuff
return $this;
}
}
Generally, i would put BaseClass where CLASSNAME is and all would be fine, PDT would pick up the phpdoc return type and happily autocomplete.
Until, that is, I subclass…