Skip to content

Commit d1c4cfc

Browse files
🔃 [EngCom] Public Pull Requests - 2.1-develop
Accepted Public Pull Requests: - #15396: [Backport] Fixed typo mistake in function comment (by @dmytro-ch) - #15394: [Backport] Remove non-existing argument (by @dmytro-ch)
2 parents cee0c40 + a03e205 commit d1c4cfc

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
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
}

app/code/Magento/Translation/Block/Html/Head/Config.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class Config extends \Magento\Framework\View\Element\AbstractBlock
3131

3232
/**
3333
* @param \Magento\Framework\View\Element\Context $context
34-
* @param RequireJsConfig $config
3534
* @param \Magento\Framework\View\Page\Config $pageConfig
3635
* @param \Magento\Translation\Model\FileManager $fileManager
3736
* @param Inline $inline

0 commit comments

Comments
 (0)