Skip to content

Commit 18ee3dc

Browse files
committed
fix(Impact\Embodied\AbstractEmbodiedImpact): disable check
1 parent 747a3dc commit 18ee3dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Impact/Embodied/AbstractEmbodiedImpact.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ public static function getItemsToEvaluate(string $itemtype, array $crit = []): D
108108
/** @var DBmysql $DB */
109109
global $DB;
110110

111-
if (!is_subclass_of($itemtype, CommonDBTM::class)) {
112-
throw new \LogicException('Itemtype does not inherits from ' . CommonDBTM::class);
113-
}
111+
// if (!is_subclass_of($itemtype, CommonDBTM::class)) {
112+
// throw new \LogicException('Itemtype does not inherits from ' . CommonDBTM::class);
113+
// }
114114

115115
$crit[EmbodiedImpact::getTableField('id')] = null;
116116
$iterator = $DB->request(self::getEvaluableQuery($itemtype, $crit, false));

0 commit comments

Comments
 (0)