mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
autofix
This commit is contained in:
parent
e5baf46dce
commit
1fdb93968a
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user