Skip to content
Snippets Groups Projects
Commit 94fb0cfb authored by Matt Trefilek's avatar Matt Trefilek
Browse files

Remove array requirement

parent b299ce8b
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ class RpcNetidStructValidationResponse { ...@@ -24,7 +24,7 @@ class RpcNetidStructValidationResponse {
* @param bool $isValid * @param bool $isValid
* @param array $reasons the array of a Reason for why the SOAP Call failed * @param array $reasons the array of a Reason for why the SOAP Call failed
*/ */
function __construct( $isValid, array $reasons ) { function __construct( $isValid, $reasons ) {
if(gettype($reasons) == "array") { if(gettype($reasons) == "array") {
$this->setIsValid( $isValid ); $this->setIsValid( $isValid );
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment