MinCondition 조건 약화
This commit is contained in:
@@ -312,10 +312,7 @@ abstract class BaseCommand{
|
||||
}
|
||||
|
||||
public function testMinConditionMet():?string{
|
||||
if(!static::$reqArg){
|
||||
if($this->minConditionConstraints){
|
||||
throw new \LogicException('reqArg==false인데 minCondition이 설정됨');
|
||||
}
|
||||
if(!static::$reqArg && !$this->minConditionConstraints){
|
||||
return $this->testFullConditionMet();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user