diff --git a/DataStorage/Database/DataMapperAbstract.php b/DataStorage/Database/DataMapperAbstract.php index 4f64b3c66..73dc87ce1 100644 --- a/DataStorage/Database/DataMapperAbstract.php +++ b/DataStorage/Database/DataMapperAbstract.php @@ -406,6 +406,7 @@ abstract class DataMapperAbstract implements DataMapperInterface $relReflectionClass = new \ReflectionClass(get_class($temp)); } else { // todo: init other $relReflectionClass?! + throw new \Exception('This should never happen, I guess?!.'); } foreach ($values as $key => &$value) {