Skip to content
Snippets Groups Projects

Wrap in array if needed

Merged Matt Trefilek requested to merge TREFILEK/rpc-netid-php:master into master
1 unresolved thread
3 files
+ 10
5
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -297,11 +297,11 @@ class RpcNetidClientSoap implements RpcNetidClient {
}
if( $result->result === 400){
return new RpcNetidStructValidationResponse(false, array($result->Reasons->Reason) );
return new RpcNetidStructValidationResponse(false, $result->Reasons->Reason );
}
if( $result->result === 401){
return new RpcNetidStructValidationResponse(false, array($result->Reasons->Reason) );
return new RpcNetidStructValidationResponse(false, $result->Reasons->Reason );
}
throw new RpcNetidClientSoapException("Unexpected status code: {$result->result}",
Loading