From 1fdb93968a97fed891289c40d139c4b4e55383a9 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 7 Mar 2020 19:49:16 +0100 Subject: [PATCH] autofix --- DataStorage/Database/DataMapperAbstract.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DataStorage/Database/DataMapperAbstract.php b/DataStorage/Database/DataMapperAbstract.php index 9c12bc489..9a11d0aaf 100644 --- a/DataStorage/Database/DataMapperAbstract.php +++ b/DataStorage/Database/DataMapperAbstract.php @@ -723,7 +723,7 @@ class DataMapperAbstract implements DataMapperInterface /** @var string $mapper */ $mapper = static::$hasMany[$propertyName]['mapper']; $objsIds = []; - $relReflectionClass = !empty($values) ? new \ReflectionClass(reset($values)) : null;; + $relReflectionClass = !empty($values) ? new \ReflectionClass(\reset($values)) : null; foreach ($values as $key => $value) { if (!\is_object($value)) { @@ -1051,7 +1051,7 @@ class DataMapperAbstract implements DataMapperInterface /** @var string $mapper */ $mapper = static::$hasMany[$propertyName]['mapper']; - $relReflectionClass = !empty($values) ? new \ReflectionClass(reset($values)) : null; + $relReflectionClass = !empty($values) ? new \ReflectionClass(\reset($values)) : null; $objsIds[$propertyName] = []; foreach ($values as $key => &$value) { @@ -1597,7 +1597,7 @@ class DataMapperAbstract implements DataMapperInterface /** @var string $mapper */ $mapper = static::$hasMany[$propertyName]['mapper']; $objsIds = []; - $relReflectionClass = !empty($values) ? new \ReflectionClass(reset($values)) : null;; + $relReflectionClass = !empty($values) ? new \ReflectionClass(\reset($values)) : null; foreach ($values as $key => &$value) { if (!\is_object($value)) {