[PSR] Fixed Tests

- Using `php-cs-fixer` tool.
This commit is contained in:
Jay Patel
2016-07-14 13:08:18 -05:00
parent 1401d5563d
commit cffa2463b1
88 changed files with 94 additions and 131 deletions

View File

@@ -11,7 +11,6 @@ use PayPal\Api\Amount;
use PayPal\Api\Authorization;
use PayPal\Api\Capture;
// ### Capture Payment
// You can capture and process a previously created authorization
// by invoking the $authorization->capture method
@@ -31,7 +30,7 @@ try {
$getCapture = $authorization->capture($capture, $apiContext);
} catch (Exception $ex) {
// NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY
ResultPrinter::printError("Capture Payment", "Authorization", null, $capture, $ex);
ResultPrinter::printError("Capture Payment", "Authorization", null, $capture, $ex);
exit(1);
}