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

View File

@@ -22,7 +22,7 @@
overflow-y: auto; overflow-y: auto;
overflow-wrap: normal; overflow-wrap: normal;
} }
pre.error { pre.error, div.error, p.error {
border-color: red; border-color: red;
color: red; color: red;
overflow-y: visible; overflow-y: visible;