mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-11 06:28:40 +00:00
autofix
This commit is contained in:
parent
e5baf46dce
commit
1fdb93968a
|
|
@ -723,7 +723,7 @@ class DataMapperAbstract implements DataMapperInterface
|
||||||
/** @var string $mapper */
|
/** @var string $mapper */
|
||||||
$mapper = static::$hasMany[$propertyName]['mapper'];
|
$mapper = static::$hasMany[$propertyName]['mapper'];
|
||||||
$objsIds = [];
|
$objsIds = [];
|
||||||
$relReflectionClass = !empty($values) ? new \ReflectionClass(reset($values)) : null;;
|
$relReflectionClass = !empty($values) ? new \ReflectionClass(\reset($values)) : null;
|
||||||
|
|
||||||
foreach ($values as $key => $value) {
|
foreach ($values as $key => $value) {
|
||||||
if (!\is_object($value)) {
|
if (!\is_object($value)) {
|
||||||
|
|
@ -1051,7 +1051,7 @@ class DataMapperAbstract implements DataMapperInterface
|
||||||
|
|
||||||
/** @var string $mapper */
|
/** @var string $mapper */
|
||||||
$mapper = static::$hasMany[$propertyName]['mapper'];
|
$mapper = static::$hasMany[$propertyName]['mapper'];
|
||||||
$relReflectionClass = !empty($values) ? new \ReflectionClass(reset($values)) : null;
|
$relReflectionClass = !empty($values) ? new \ReflectionClass(\reset($values)) : null;
|
||||||
$objsIds[$propertyName] = [];
|
$objsIds[$propertyName] = [];
|
||||||
|
|
||||||
foreach ($values as $key => &$value) {
|
foreach ($values as $key => &$value) {
|
||||||
|
|
@ -1597,7 +1597,7 @@ class DataMapperAbstract implements DataMapperInterface
|
||||||
/** @var string $mapper */
|
/** @var string $mapper */
|
||||||
$mapper = static::$hasMany[$propertyName]['mapper'];
|
$mapper = static::$hasMany[$propertyName]['mapper'];
|
||||||
$objsIds = [];
|
$objsIds = [];
|
||||||
$relReflectionClass = !empty($values) ? new \ReflectionClass(reset($values)) : null;;
|
$relReflectionClass = !empty($values) ? new \ReflectionClass(\reset($values)) : null;
|
||||||
|
|
||||||
foreach ($values as $key => &$value) {
|
foreach ($values as $key => &$value) {
|
||||||
if (!\is_object($value)) {
|
if (!\is_object($value)) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user