Permalink
Browse files

Code formating changes

  • Loading branch information...
Christian Scheb
Christian Scheb committed Aug 2, 2012
1 parent 5b4f19d commit 2a82f02db34d09478847845e7fd55e1048ec219b
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/BeSimple/SoapClient/WsdlDownloader.php
@@ -189,12 +189,12 @@ private function resolveRemoteIncludes($xml, $cacheFile, $parentFile = null)
$nodes = $xpath->query($query);
if ($nodes->length > 0) {
foreach ($nodes as $node) {
- if ( $node->hasAttribute('schemaLocation') ) {
+ if ($node->hasAttribute('schemaLocation')) {
$schemaLocation = $node->getAttribute('schemaLocation');
if ($this->isRemoteFile($schemaLocation)) {
$schemaLocation = $this->download($schemaLocation);
$node->setAttribute('schemaLocation', $schemaLocation);
- } elseif (!is_null($parentFile)) {
+ } elseif (null !== $parentFile) {
$schemaLocation = $this->resolveRelativePathInUrl($parentFile, $schemaLocation);
$schemaLocation = $this->download($schemaLocation);
$node->setAttribute('schemaLocation', $schemaLocation);

0 comments on commit 2a82f02

Please sign in to comment.