From 98ff5af05b266cc7dcede217bf1d0ac8bfb88859 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 27 Mar 2016 23:09:12 +0200 Subject: [PATCH] Exception text fix. --- DataStorage/Database/DataMapperAbstract.php | 1 + 1 file changed, 1 insertion(+) 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) {