We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is not a good design if we want to compose functionality for Proxies (ProxyInterface) because we can't warranted the return type.
Refactor of this part or include this method in an abstract proxy.
/** * @param array $namesWithValues * @return ProxyInterface * * @throws InvalidArgumentException * @throws MockNotCreatedException */ public function stub(array $namesWithValues): ProxyInterface { //... /** @var $this ProxyInterface */ $this->__moka_mockingStrategy->decorate($this->__moka_mock, $namesWithValues); return $this; }
The text was updated successfully, but these errors were encountered:
I'm afraid an abstract cannot be used, as it would have to extend the generated mock class. That's why we opted for the trait.
Sorry, something went wrong.
#45 Implement stub method into generated proxy and call doCall of Pro…
376eaec
…xyTrait
Giuffre
No branches or pull requests
Is not a good design if we want to compose functionality for Proxies (ProxyInterface) because we can't warranted the return type.
Refactor of this part or include this method in an abstract proxy.
The text was updated successfully, but these errors were encountered: