Skip to content

Commit d418c3c

Browse files
committed
Merge branch 'release/4.1.10'
2 parents 430361c + 4dcf780 commit d418c3c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# CHANGELOG
22

3+
## 4.1.10 - 2023-09-11
4+
- issue #298, pr #303 - Undefined constant "WsdlToPhp\PackageGenerator\Generator\SOAP_1_1"
5+
36
## 4.1.9 - 2023-08-25
47
- issue #299, pr #301 - Deprecated Warnings for Dynamic Properties
58
- issue #300, pr #302 - Incorrect default value for integer attribute

src/Generator/GeneratorSoapClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ public function __construct(Generator $generator)
1919
public function initSoapClient(): self
2020
{
2121
try {
22-
$soapClient = new SoapClient($this->getSoapClientOptions(SOAP_1_1));
22+
$soapClient = new SoapClient($this->getSoapClientOptions(\SOAP_1_1));
2323
} catch (\SoapFault $fault) {
2424
try {
25-
$soapClient = new SoapClient($this->getSoapClientOptions(SOAP_1_2));
25+
$soapClient = new SoapClient($this->getSoapClientOptions(\SOAP_1_2));
2626
} catch (\SoapFault $fault) {
2727
throw new \InvalidArgumentException(sprintf('Unable to load WSDL at "%s"!', $this->getGenerator()->getOptionOrigin()), __LINE__, $fault);
2828
}

0 commit comments

Comments
 (0)