Skip to content
New issue

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

[appserver-io/doppelgaenger] Proxy-Generator generates wrapper method for constructor #1110

Open
wagnert opened this issue Oct 2, 2018 · 0 comments

Comments

@wagnert
Copy link
Member

wagnert commented Oct 2, 2018

The Proxy-Generator generates wrapper methods for the __construct() method like

    public function __constructDOPPELGAENGEROriginal(PropertiesInterface $settings, SoapClientWrapper $soapClientWrapper)
    {
        parent::__construct($settings);
        $this->injectSoapClientWrapper($soapClientWrapper);
    }

which leads to strict notice like

PHP Strict: Declaration of UserAdminAssembler::__constructDOPPELGAENGEROriginal() should be compatible with AbstractAssembler::__constructDOPPELGAENGEROriginal(AppserverIo\Properties\PropertiesInterface $settings) in ...

Generally no wrapper for the constructor has to be generated, or if really necessary/sensfull, the strict notice has to be avoided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant