Code Duplication    Length = 7-7 lines in 2 locations

src/WSDL/XML/XMLStyle/XMLDocumentStyle.php 1 location

@@ 41-47 (lines=7) @@
38
    /**
39
     * @inheritdoc
40
     */
41
    public function generateBinding(DOMDocument $DOMDocument, $soapVersion)
42
    {
43
        return XMLAttributeHelper::forDOM($DOMDocument)
44
            ->createElementWithAttributes($soapVersion . ':binding', [
45
                'style' => 'document', 'transport' => 'http://schemas.xmlsoap.org/soap/http'
46
            ]);
47
    }
48
49
    /**
50
     * @inheritdoc

src/WSDL/XML/XMLStyle/XMLRpcStyle.php 1 location

@@ 41-47 (lines=7) @@
38
    /**
39
     * @inheritdoc
40
     */
41
    public function generateBinding(DOMDocument $DOMDocument, $soapVersion)
42
    {
43
        return XMLAttributeHelper::forDOM($DOMDocument)
44
            ->createElementWithAttributes($soapVersion . ':binding', [
45
                'style' => 'rpc', 'transport' => 'http://schemas.xmlsoap.org/soap/http'
46
            ]);
47
    }
48
49
    /**
50
     * @inheritdoc