You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Pavel Železný (Jira)" <ji...@apache.org> on 2021/11/28 15:57:00 UTC
[jira] [Created] (NETBEANS-6240) PHP return value detection
Pavel Železný created NETBEANS-6240:
---------------------------------------
Summary: PHP return value detection
Key: NETBEANS-6240
URL: https://issues.apache.org/jira/browse/NETBEANS-6240
Project: NetBeans
Issue Type: Bug
Components: php - Editor
Affects Versions: 12.5, 12.4, 12.3, 12.2, 12.1
Reporter: Pavel Železný
{code:java}
/**
* Foo mock factory
*
* @param string[] $methods [OPTIONAL] List of mocked method names
* @return Foo|MockObject
*/
protected function createFooMock(array $methods = []): MockObject
{
$mock = $this->createPartialMock(Foo::class, $methods);
return $mock;
} {code}
When the method return `MockObject` that represent some class, it will be useful when the NetBeans will suggest methods also from the represented class.
In the NetBeans 8 was this mechanism, but disappear.
Will it be possible to return it back, please?
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists