This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Take the interface: interface IBase { /** * @param \stdClass[] $values */ public function doSth(array $values); } When extending the method in an implementing class, the wrong type hint is added: class B implements IBase { public function doSth(\stdClass $values) { //... } } The added type hint is taken from the method docBlock and not the method signature.