city의 officer를 general로 이동

This commit is contained in:
Hide_D committed 2020-04-18 03:57:58 +09:00
1 parent 5d23032500
commit eab8a3b94e
98 files changed
+680 -889

No files matched your search

+3 -3
View File
@@ -10,9 +10,9 @@ class BeChief extends Constraint{
return false;
}
if(!key_exists('level', $this->general)){
if(!key_exists('officer_level', $this->general)){
if(!$throwExeception){return false; }
throw new \InvalidArgumentException("require level in general");
throw new \InvalidArgumentException("require officer_level in general");
}
return true;
@@ -22,7 +22,7 @@ class BeChief extends Constraint{
$this->checkInputValues();
$this->tested = true;
if($this->general['level'] > 4){
if($this->general['officer_level'] > 4){
return true;
}