Skip to content

Commit

Permalink
Merge pull request #6 from ofcold/master
Browse files Browse the repository at this point in the history
Fix
  • Loading branch information
lilianjin authored May 26, 2018
2 parents 19b3d53 + f4eb6e7 commit 23dc322
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ A component based on People's Republic of China citizen ID card to obtain the us
$idCard = Ofcold\IdentityCard\IdentityCard::make('320106198310290811', 'en');
// Use locale, Current supported zh-cn,en
// $idCard = Ofcold\IdentityCard\IdentityCard::make('320106198310290811', 'zh-cn');
if ( $result === false ) {
if ( $idCard === false ) {

return 'Your ID number is incorrect';
}
Expand Down
2 changes: 1 addition & 1 deletion README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
$idCard = Ofcold\IdentityCard\IdentityCard::make('320106198310290811', 'en');
// Use locale, Current supported zh-cn,en
// $idCard = Ofcold\IdentityCard\IdentityCard::make('320106198310290811', 'zh-cn');
if ( $result === false ) {
if ( $idCard === false ) {

return '您的身份证号码不正确';
}
Expand Down

0 comments on commit 23dc322

Please sign in to comment.