Skip to content

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

@wagnert

Description

@wagnert

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions