We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d8f6bb commit 416eb13Copy full SHA for 416eb13
src/Idcard.php
@@ -128,7 +128,7 @@ public function getId(){
128
* @return bool
129
*/
130
public function check(){
131
- return $this->isValid || ($this->checkFormat() && $this->checkArea() && $this->checkBirthday() && $this->setValid(true));
+ return $this->isValid || ($this->checkFormat() && $this->checkCode() && $this->checkArea() && $this->checkBirthday() && $this->setValid(true));
132
}
133
134
/**
0 commit comments