Skip to content
Snippets Groups Projects

Updates to implement finish, process MultiSmartData for v1.2 (Mobile)...

Closed Guilherme Arthur Gerônimo requested to merge master into prod
1 file
+ 2
4
Compare changes
  • Side-by-side
  • Inline
@@ -40,8 +40,7 @@ namespace SmartData\SmartAPI
}
if($return != NULL){
$return = json_encode($return);
$return = preg_replace('/:"([0-9]*)"/',':$1',$return);
$return = json_encode( $return, JSON_NUMERIC_CHECK );
} else {
throw new RequestFailedException("Error processing request: null return");
}
@@ -92,8 +91,7 @@ namespace SmartData\SmartAPI
}
$pos = $pos + 1;
}
$return = json_encode($return);
$return = preg_replace('/:"([0-9]*)"/',':$1',$return);
$return = json_encode( $return, JSON_NUMERIC_CHECK );
} else {
throw new RequestFailedException("Error processing request: null return");
}
Loading