mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
✅ Fix false positive in tests
This commit is contained in:
@@ -32,7 +32,9 @@ class ValueTypeClass extends AbstractValueType
|
||||
$oModelReflection = DIService::GetInstance()->GetService('ModelReflection');
|
||||
|
||||
$sChoices = "[\n";
|
||||
foreach ($oModelReflection->GetClasses($sCategories, true) as $sClass) {
|
||||
$aClasses = $oModelReflection->GetClasses($sCategories, true);
|
||||
sort($aClasses);
|
||||
foreach ($aClasses as $sClass) {
|
||||
if ($oModelReflection->IsAbstract($sClass)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user