Skip to content

Commit

Permalink
Optim : Unreachable statement
Browse files Browse the repository at this point in the history
  • Loading branch information
s-renier-taonix-fr authored and f3l1x committed Feb 13, 2023
1 parent 687c73d commit e8736c0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/nusoap.php
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,6 @@ function serialize_val($val, $name = false, $type = false, $name_ns = false, $ty
$xml .= "<$name$xmlns$type_str$atts>$pXml</$name>";
}
break;
break;
case (is_array($val) || $type):
// detect if struct or array
$valueType = $this->isArraySimpleOrStruct($val);
Expand Down Expand Up @@ -7938,11 +7937,9 @@ function send($msg, $soapaction = '', $timeout = 0, $response_timeout = 30)
$this->debug('got response, length=' . strlen($this->responseData) . ' type=' . $http->incoming_headers['content-type']);
return $this->parseResponse($http->incoming_headers, $this->responseData);
}
break;
default:
$this->setError('no transport found, or selected transport is not yet supported!');
return false;
break;
}
}

Expand Down

0 comments on commit e8736c0

Please sign in to comment.