Skip to content

Commit

Permalink
Merge pull request #13 from 365Werk/analysis-kayAwA
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
HergenD authored Aug 20, 2020
2 parents 405922b + 4b5f122 commit 04106da
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 04106da

Please sign in to comment.