if we use methods setProxyHost and setProxyPort we create stream context options twice, first time in \WsdlToPhp\PackageBase\AbstractSoapClientBase::setHttpHeader and second time in \WsdlToPhp\PackageGenerator\Generator\Utils::getStreamContextOptions, this PR fixes this problem
see UtilsTest::testGetContentFromUrlContextOptionsWithSameSoapContext for more details.
if we use methods
setProxyHost
andsetProxyPort
we create stream context options twice, first time in\WsdlToPhp\PackageBase\AbstractSoapClientBase::setHttpHeader
and second time in\WsdlToPhp\PackageGenerator\Generator\Utils::getStreamContextOptions
, this PR fixes this problemsee
UtilsTest::testGetContentFromUrlContextOptionsWithSameSoapContext
for more details.