Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 571cee7

Browse files
author
Stanislav Idolov
authored
ENGCOM-1615: [Forwardport] Fixed typo mistake in function comment #15397
2 parents 4e945a6 + 37edcba commit 571cee7

File tree

1 file changed

+3
-3
lines changed
  • app/code/Magento/Paypal/Model/Api

1 file changed

+3
-3
lines changed

app/code/Magento/Paypal/Model/Api/Nvp.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ public function callGetPalDetails()
10251025
}
10261026

10271027
/**
1028-
* Set Customer BillingA greement call
1028+
* Set Customer BillingAgreement call
10291029
*
10301030
* @return void
10311031
* @link https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/e_howto_api_nvp_r_SetCustomerBillingAgreement
@@ -1425,15 +1425,15 @@ protected function _deformatNVP($nvpstr)
14251425
$nvpstr = strpos($nvpstr, "\r\n\r\n") !== false ? substr($nvpstr, strpos($nvpstr, "\r\n\r\n") + 4) : $nvpstr;
14261426

14271427
while (strlen($nvpstr)) {
1428-
//postion of Key
1428+
//position of Key
14291429
$keypos = strpos($nvpstr, '=');
14301430
//position of value
14311431
$valuepos = strpos($nvpstr, '&') ? strpos($nvpstr, '&') : strlen($nvpstr);
14321432

14331433
/*getting the Key and Value values and storing in a Associative Array*/
14341434
$keyval = substr($nvpstr, $intial, $keypos);
14351435
$valval = substr($nvpstr, $keypos + 1, $valuepos - $keypos - 1);
1436-
//decoding the respose
1436+
//decoding the response
14371437
$nvpArray[urldecode($keyval)] = urldecode($valval);
14381438
$nvpstr = substr($nvpstr, $valuepos + 1, strlen($nvpstr));
14391439
}

0 commit comments

Comments
 (0)