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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to