Updated Samples

This commit is contained in:
japatel
2014-11-18 11:46:13 -06:00
parent 3fc0d34df3
commit f0ccc950ad
2 changed files with 4 additions and 2 deletions

View File

@@ -152,7 +152,9 @@ class ResultPrinter
protected static function printObject($object, $error = null)
{
if ($error) {
echo '<pre class="error">'. $error . '</pre>';
echo '<p class="error"><i class="fa fa-exclamation-triangle"></i> '.
$error.
'</p>';
}
if ($object) {
if (is_a($object, 'PayPal\Common\PPModel')) {