Skip to content

Commit

Permalink
Merge pull request #14 from tomasz-kusy/php8
Browse files Browse the repository at this point in the history
PHP8 compatibility
  • Loading branch information
goetas authored Sep 10, 2021
2 parents e56618d + 7a7e6c5 commit d7027c3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/Generation/JmsSoapConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down
2 changes: 1 addition & 1 deletion src/Generation/SoapConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down

0 comments on commit d7027c3

Please sign in to comment.