forked from LiveCarta/PayPal-PHP-SDK
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:
@@ -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()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user