Skip to content

Commit b0ca9a8

Browse files
ENGCOM-1614: [Backport] Fixed typo mistake in function comment #15396
- Merge Pull Request #15396 from dmytro-ch/magento2:2.1-develop-PR-port-15302 - Merged commits: 1. 2c31e4d 2. 32c4a33 3. c13e1fd 4. 07e3a8f
2 parents cee0c40 + 07e3a8f commit b0ca9a8

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
@@ -1418,15 +1418,15 @@ protected function _deformatNVP($nvpstr)
14181418
$nvpstr = strpos($nvpstr, "\r\n\r\n") !== false ? substr($nvpstr, strpos($nvpstr, "\r\n\r\n") + 4) : $nvpstr;
14191419

14201420
while (strlen($nvpstr)) {
1421-
//postion of Key
1421+
//position of Key
14221422
$keypos = strpos($nvpstr, '=');
14231423
//position of value
14241424
$valuepos = strpos($nvpstr, '&') ? strpos($nvpstr, '&') : strlen($nvpstr);
14251425

14261426
/*getting the Key and Value values and storing in a Associative Array*/
14271427
$keyval = substr($nvpstr, $intial, $keypos);
14281428
$valval = substr($nvpstr, $keypos + 1, $valuepos - $keypos - 1);
1429-
//decoding the respose
1429+
//decoding the response
14301430
$nvpArray[urldecode($keyval)] = urldecode($valval);
14311431
$nvpstr = substr($nvpstr, $valuepos + 1, strlen($nvpstr));
14321432
}

0 commit comments

Comments
 (0)