diff --git a/composer.json b/composer.json index 8da17ad..ae012b4 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ } ], "require": { - "php": "^7.1", + "php": "^7.1|^8.0", "goetas-webservices/soap-reader": "^0.3.1", "goetas-webservices/wsdl-reader": "^0.3", "goetas-webservices/xsd2php": "^0.4.1", diff --git a/src/Generation/JmsSoapConverter.php b/src/Generation/JmsSoapConverter.php index 9c0389e..998f773 100644 --- a/src/Generation/JmsSoapConverter.php +++ b/src/Generation/JmsSoapConverter.php @@ -80,7 +80,7 @@ private function visitOperation(\GoetasWebservices\XML\SOAPReader\Soap\Operation } } - private function visitMessage(OperationMessage $message, $hint = '', \GoetasWebservices\XML\SOAPReader\Soap\Operation $operation, Service $service) + private function visitMessage(OperationMessage $message, $hint, \GoetasWebservices\XML\SOAPReader\Soap\Operation $operation, Service $service) { if (!isset($this->classes[spl_object_hash($message)])) { $className = $this->findPHPName($message, Inflector::classify($hint), $this->baseNs[$service->getVersion()]['parts']); diff --git a/src/Generation/SoapConverter.php b/src/Generation/SoapConverter.php index 0e31f87..672ecde 100644 --- a/src/Generation/SoapConverter.php +++ b/src/Generation/SoapConverter.php @@ -91,7 +91,7 @@ private function visitOperation(\GoetasWebservices\XML\SOAPReader\Soap\Operation } } - private function visitMessage(OperationMessage $message, $hint = '', \GoetasWebservices\XML\SOAPReader\Soap\Operation $operation, Service $service) + private function visitMessage(OperationMessage $message, $hint, \GoetasWebservices\XML\SOAPReader\Soap\Operation $operation, Service $service) { if (!isset($this->classes[spl_object_hash($message)])) { $className = $this->findPHPName($message, Inflector::classify($hint), $this->baseNs[$service->getVersion()]['parts']);