Skip to content

Commit 54ffb8c

Browse files
ENGCOM-1599: Fixed typo mistake in function comment #15302
- Merge Pull Request #15302 from NamrataChangani/magento2:ns-patch-1 - Merged commits: 1. 48a8b1d 2. 1e1ceb9 3. 298e392 4. 44031e0 5. c4db071
2 parents 9a28908 + c4db071 commit 54ffb8c

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
@@ -1027,7 +1027,7 @@ public function callGetPalDetails()
10271027
}
10281028

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

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

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

0 commit comments

Comments
 (0)