From 3b931cc76c1edaa5a9a7366bc4dba81d5e8c0aef Mon Sep 17 00:00:00 2001 From: stalesha Date: Thu, 23 Oct 2014 15:15:45 +0400 Subject: [PATCH] Fix Fatal error with double slash PHP Fatal error: Class '\\PayPal\Api\Payment' not found in rest-api-sdk-php/lib/PayPal/Common/PPModel.php on line 16 --- lib/PayPal/Api/Invoice.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PayPal/Api/Invoice.php b/lib/PayPal/Api/Invoice.php index 9c42263..adeb113 100644 --- a/lib/PayPal/Api/Invoice.php +++ b/lib/PayPal/Api/Invoice.php @@ -700,7 +700,7 @@ class Invoice extends ResourceModel * Set Payments * A list of Payment resources * - * @param \\PayPal\Api\Payment $payments + * @param \PayPal\Api\Payment $payments * * @return $this */ @@ -715,7 +715,7 @@ class Invoice extends ResourceModel * Get Payments * A list of Payment resources * - * @return \\PayPal\Api\Payment + * @return \PayPal\Api\Payment */ public function getPayments() {