forked from LiveCarta/PayPal-PHP-SDK
Fixed some lines.
This commit is contained in:
@@ -11,7 +11,7 @@ use PayPal\Common\PayPalModel;
|
|||||||
*
|
*
|
||||||
* @package PayPal\Api
|
* @package PayPal\Api
|
||||||
*
|
*
|
||||||
* @property \PayPal\Api\CreditCard credit_cards
|
* @property \PayPal\Api\CreditCard[] credit_cards
|
||||||
* @property int count
|
* @property int count
|
||||||
* @property string next_id
|
* @property string next_id
|
||||||
*/
|
*/
|
||||||
@@ -21,7 +21,7 @@ class CreditCardHistory extends PayPalModel
|
|||||||
* A list of credit card resources
|
* A list of credit card resources
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @param $credit_cards
|
* @param \PayPal\Api\CreditCard[] $credit_cards
|
||||||
* @return $this
|
* @return $this
|
||||||
*/
|
*/
|
||||||
public function setCreditCards($credit_cards)
|
public function setCreditCards($credit_cards)
|
||||||
|
|||||||
@@ -93,7 +93,6 @@ class PayPalHttpConnection
|
|||||||
switch ($this->httpConfig->getMethod()) {
|
switch ($this->httpConfig->getMethod()) {
|
||||||
case 'POST':
|
case 'POST':
|
||||||
curl_setopt($ch, CURLOPT_POST, true);
|
curl_setopt($ch, CURLOPT_POST, true);
|
||||||
break;
|
|
||||||
case 'PUT':
|
case 'PUT':
|
||||||
case 'PATCH':
|
case 'PATCH':
|
||||||
case 'DELETE':
|
case 'DELETE':
|
||||||
|
|||||||
Reference in New Issue
Block a user