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
This commit is contained in:
stalesha
2014-10-23 15:15:45 +04:00
parent 1de6085857
commit 3b931cc76c

View File

@@ -700,7 +700,7 @@ class Invoice extends ResourceModel
* Set Payments * Set Payments
* A list of Payment resources * A list of Payment resources
* *
* @param \\PayPal\Api\Payment $payments * @param \PayPal\Api\Payment $payments
* *
* @return $this * @return $this
*/ */
@@ -715,7 +715,7 @@ class Invoice extends ResourceModel
* Get Payments * Get Payments
* A list of Payment resources * A list of Payment resources
* *
* @return \\PayPal\Api\Payment * @return \PayPal\Api\Payment
*/ */
public function getPayments() public function getPayments()
{ {