Backward Compatible Changes

This commit is contained in:
japatel
2014-10-20 12:17:35 -05:00
parent 2fb68e8a7a
commit 6fb6508f9c
53 changed files with 203 additions and 206 deletions

View File

@@ -24,7 +24,7 @@ function print_result($title, $objectName, $objectId = null, $output = null)
if ($output) {
if (is_a($output, 'PayPal\Common\PPModel')) {
/** @var $output \PayPal\Common\PPModel */
echo "<pre>" . $output->toJSON(JSON_PRETTY_PRINT) . "</pre>";
echo "<pre>" . $output->toJSON(128) . "</pre>";
} elseif (is_string($output)) {
echo "<pre>$output</pre>";
}