Skip to content

Commit

Permalink
Finish 2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
i.badamshin committed Sep 1, 2023
2 parents fe8055a + e0dedbc commit ceb1a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clients/BaseClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function setLogger(LoggerInterface $logger){
* @return array
*/
protected function getMaskedParams($paramsToMask){
array_walk_recursive($paramsToMask, function(&$value, &$key) {
array_walk_recursive($paramsToMask, function(&$value, $key) {
if(in_array($key, array('pan', 'cvv', 'holder', 'expiration_month', 'expiration_year'))){
$value = str_repeat('*', strlen($value));
}
Expand Down

0 comments on commit ceb1a30

Please sign in to comment.