Skip to content

Commit

Permalink
Merge tag '2.0.6' into develop
Browse files Browse the repository at this point in the history
Finish 2.0.6
  • Loading branch information
alexey lashnev committed Nov 30, 2019
2 parents 6d8d7f7 + 5b55d90 commit 0bde238
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 @@ -72,7 +72,7 @@ public function setLogger(LoggerInterface $logger){
*/
protected function getMaskedParams($paramsToMask){
array_walk_recursive($paramsToMask, function(&$value, &$key) {
if(in_array($key, array('pan', 'cvv'))){
if(in_array($key, array('pan', 'cvv', 'holder', 'expiration_month', 'expiration_year'))){
$value = str_repeat('*', strlen($value));
}
});
Expand Down

0 comments on commit 0bde238

Please sign in to comment.