A bit cleaning logic

This commit is contained in:
Pavel Shevaev 2023-09-27 15:24:05 +03:00
parent b9b5cbe136
commit 9a765523c0
1 changed files with 0 additions and 4 deletions

View File

@ -92,10 +92,6 @@ function flt_class($val, $name, $struct, $args)
if($conf_class != $args[0] && !is_subclass_of($conf_class, $args[0]))
throw new Exception($val.". Config class is \"".$conf_class."\". Must be \"".$args[0]."\" or it's child");
else
return $val;
throw new Exception($val.". Config class is not found in '$conf_path'");
}
return $val;