Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
HergenD authored and StyleCIBot committed Aug 20, 2020
1 parent 405922b commit 4b5f122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IdentityDocuments.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private static function parseMRZ(object $document): object
$document->parsed->general = implode('', $document->parsed->general);
}

if(in_array($document->parsed->country, config('identitydocuments.countries_convert_o_to_zero')) || config('identitydocuments.countries_convert_o_to_zero')){
if (in_array($document->parsed->country, config('identitydocuments.countries_convert_o_to_zero')) || config('identitydocuments.countries_convert_o_to_zero')) {
$re = '/o|O/m';
$subst = '0';
$document->parsed->document_number = preg_replace($re, $subst, $document->parsed->document_number);
Expand Down

0 comments on commit 4b5f122

Please sign in to comment.