버그 수정...

This commit is contained in:
2019-10-06 14:49:41 +09:00
parent 70181d95c7
commit 934c1b0cfe
28 changed files with 115 additions and 102 deletions
+2 -2
View File
@@ -23,11 +23,11 @@ class ReqEnvValue extends Constraint{
}
if(count($this->arg) == 4){
[$this->key, $this->reqVal, $comp, $this->msg] = $this->arg;
[$this->key, $comp, $this->reqVal, $this->msg] = $this->arg;
if(!in_array($comp, ['>', '>=', '==', '<=', '<', '!=', '===', '!=='])){
if(!$throwExeception){return false; }
throw new \InvalidArgumentException("invalid comparator");
throw new \InvalidArgumentException("invalid comparator($comp)");
}
}
else{