Code formating changes
This commit is contained in:
parent
5b4f19d032
commit
2a82f02db3
|
@ -189,12 +189,12 @@ class WsdlDownloader
|
||||||
$nodes = $xpath->query($query);
|
$nodes = $xpath->query($query);
|
||||||
if ($nodes->length > 0) {
|
if ($nodes->length > 0) {
|
||||||
foreach ($nodes as $node) {
|
foreach ($nodes as $node) {
|
||||||
if ( $node->hasAttribute('schemaLocation') ) {
|
if ($node->hasAttribute('schemaLocation')) {
|
||||||
$schemaLocation = $node->getAttribute('schemaLocation');
|
$schemaLocation = $node->getAttribute('schemaLocation');
|
||||||
if ($this->isRemoteFile($schemaLocation)) {
|
if ($this->isRemoteFile($schemaLocation)) {
|
||||||
$schemaLocation = $this->download($schemaLocation);
|
$schemaLocation = $this->download($schemaLocation);
|
||||||
$node->setAttribute('schemaLocation', $schemaLocation);
|
$node->setAttribute('schemaLocation', $schemaLocation);
|
||||||
} elseif (!is_null($parentFile)) {
|
} elseif (null !== $parentFile) {
|
||||||
$schemaLocation = $this->resolveRelativePathInUrl($parentFile, $schemaLocation);
|
$schemaLocation = $this->resolveRelativePathInUrl($parentFile, $schemaLocation);
|
||||||
$schemaLocation = $this->download($schemaLocation);
|
$schemaLocation = $this->download($schemaLocation);
|
||||||
$node->setAttribute('schemaLocation', $schemaLocation);
|
$node->setAttribute('schemaLocation', $schemaLocation);
|
||||||
|
|
Loading…
Reference in New Issue