Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
12.1, 12.2, 12.3, 12.4, 12.5
-
None
-
None
Description
/** * 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; }
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?