From decc9e45c2bb9898d54e179871083536bdda215f Mon Sep 17 00:00:00 2001 From: Jay Patel Date: Thu, 29 Sep 2016 11:48:58 -0500 Subject: [PATCH] Add missing newline --- sample/doc/invoice-templates/CreateInvoiceTemplate.html | 2 +- sample/doc/invoice-templates/DeleteInvoiceTemplate.html | 2 +- sample/doc/invoice-templates/GetAllInvoiceTemplates.html | 2 +- sample/doc/invoice-templates/GetInvoiceTemplate.html | 2 +- sample/doc/invoice-templates/UpdateInvoiceTemplate.html | 2 +- sample/doc/notifications/ValidateWebhookEvent.html | 2 +- sample/invoice-templates/GetAllInvoiceTemplates.php | 2 +- sample/invoice-templates/GetInvoiceTemplate.php | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sample/doc/invoice-templates/CreateInvoiceTemplate.html b/sample/doc/invoice-templates/CreateInvoiceTemplate.html index 8657e0e..11d5bde 100644 --- a/sample/doc/invoice-templates/CreateInvoiceTemplate.html +++ b/sample/doc/invoice-templates/CreateInvoiceTemplate.html @@ -40,4 +40,4 @@ with a valid ApiContext (See bootstrap.php for more on ApiContext)< exit(1); }

NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY

ResultPrinter::printResult("Create Invoice Template", "Template", $invoiceTemplate->getTemplateId(), $request, $invoiceTemplate); -return $invoiceTemplate;
\ No newline at end of file +return $invoiceTemplate; diff --git a/sample/doc/invoice-templates/DeleteInvoiceTemplate.html b/sample/doc/invoice-templates/DeleteInvoiceTemplate.html index d2669dd..0fc3933 100644 --- a/sample/doc/invoice-templates/DeleteInvoiceTemplate.html +++ b/sample/doc/invoice-templates/DeleteInvoiceTemplate.html @@ -13,4 +13,4 @@ notification object (See bootstrap.php for more on ApiContext)

$deleteStatus = $template->delete($apiContext); } catch (Exception $ex) {

NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY

ResultPrinter::printError("Delete Invoice Template", "Template", null, $deleteStatus, $ex); exit(1); -}

NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY

ResultPrinter::printResult("Delete Invoice Template", "Template", $template->getTemplateId(), null, null);
\ No newline at end of file +}

NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY

ResultPrinter::printResult("Delete Invoice Template", "Template", $template->getTemplateId(), null, null);
diff --git a/sample/doc/invoice-templates/GetAllInvoiceTemplates.html b/sample/doc/invoice-templates/GetAllInvoiceTemplates.html index 892fe09..dbfb454 100644 --- a/sample/doc/invoice-templates/GetAllInvoiceTemplates.html +++ b/sample/doc/invoice-templates/GetAllInvoiceTemplates.html @@ -10,4 +10,4 @@ exit(1); }

NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY

ResultPrinter::printResult("Get all Templates", "Templates", null, null, $templates); -return $templates;
\ No newline at end of file +return $templates; diff --git a/sample/doc/invoice-templates/GetInvoiceTemplate.html b/sample/doc/invoice-templates/GetInvoiceTemplate.html index 716461a..d9e6f8a 100644 --- a/sample/doc/invoice-templates/GetInvoiceTemplate.html +++ b/sample/doc/invoice-templates/GetInvoiceTemplate.html @@ -16,4 +16,4 @@ Template ID exit(1); }

NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY

ResultPrinter::printResult("Get Invoice Template", "Template", $template->getTemplateId(), $templateId, $template); -return $template;
\ No newline at end of file +return $template; diff --git a/sample/doc/invoice-templates/UpdateInvoiceTemplate.html b/sample/doc/invoice-templates/UpdateInvoiceTemplate.html index a6b3a22..22ad5c0 100644 --- a/sample/doc/invoice-templates/UpdateInvoiceTemplate.html +++ b/sample/doc/invoice-templates/UpdateInvoiceTemplate.html @@ -9,4 +9,4 @@ an invoice.

$template->update($apiContext); } catch (Exception $ex) {

NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY

ResultPrinter::printError("Invoice Template Updated", "Invoice", null, $request, $ex); exit(1); -}

NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY

ResultPrinter::printResult("Invoice Template Updated", "Invoice", $template->getTemplateId(), $request, $template);
\ No newline at end of file +}

NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY

ResultPrinter::printResult("Invoice Template Updated", "Invoice", $template->getTemplateId(), $request, $template);
diff --git a/sample/doc/notifications/ValidateWebhookEvent.html b/sample/doc/notifications/ValidateWebhookEvent.html index b5209af..9cd58c2 100644 --- a/sample/doc/notifications/ValidateWebhookEvent.html +++ b/sample/doc/notifications/ValidateWebhookEvent.html @@ -31,4 +31,4 @@ To resolve that, we need to use alternative, which makes a call to PayPal's $output = $signatureVerification->post($apiContext); } catch (Exception $ex) {

NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY

ResultPrinter::printError("Validate Received Webhook Event", "WebhookEvent", null, $request->toJSON(), $ex); exit(1); -}

NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY

ResultPrinter::printResult("Validate Received Webhook Event", "WebhookEvent", $output->getVerificationStatus(), $request->toJSON(), $output);
\ No newline at end of file +}

NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY

ResultPrinter::printResult("Validate Received Webhook Event", "WebhookEvent", $output->getVerificationStatus(), $request->toJSON(), $output);
diff --git a/sample/invoice-templates/GetAllInvoiceTemplates.php b/sample/invoice-templates/GetAllInvoiceTemplates.php index 0bef017..98f9d6d 100644 --- a/sample/invoice-templates/GetAllInvoiceTemplates.php +++ b/sample/invoice-templates/GetAllInvoiceTemplates.php @@ -15,4 +15,4 @@ try { // NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY ResultPrinter::printResult("Get all Templates", "Templates", null, null, $templates); -return $templates; \ No newline at end of file +return $templates; diff --git a/sample/invoice-templates/GetInvoiceTemplate.php b/sample/invoice-templates/GetInvoiceTemplate.php index ba0b6e4..c7c944e 100644 --- a/sample/invoice-templates/GetInvoiceTemplate.php +++ b/sample/invoice-templates/GetInvoiceTemplate.php @@ -28,4 +28,4 @@ try { // NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY ResultPrinter::printResult("Get Invoice Template", "Template", $template->getTemplateId(), $templateId, $template); -return $template; \ No newline at end of file +return $template;