버그 수정

This commit is contained in:
2019-04-21 11:43:23 +09:00
parent 03510ee1e7
commit 1a0e84e6d7
56 changed files with 77 additions and 73 deletions
+2 -1
View File
@@ -12,7 +12,7 @@ class RemainCityCapacity extends Constraint{
protected $keyNick;
public function checkInputValues(bool $throwExeception=true){
if(!parent::checkInputValues($throwExeception) && !$throwException){
if(!parent::checkInputValues($throwExeception) && !$throwExeception){
return false;
}
@@ -35,6 +35,7 @@ class RemainCityCapacity extends Constraint{
public function test():bool{
$this->checkInputValues();
$this->tested = true;
$keyNick = $this->keyNick;
if($this->city[$this->key] < $this->city[$this->maxKey]){
return true;