1
0
mirror of synced 2025-01-31 04:21:44 +03:00

#1246 DDC-3487 - minor alignment fixes

This commit is contained in:
Marco Pivetta 2015-01-13 14:58:56 +01:00
parent 7f71cbc8c7
commit 278b8bfa08

View File

@ -67,7 +67,17 @@ class OneToManyPersister extends AbstractCollectionPersister
throw new \BadMethodCallException("Selecting a collection by index is only supported on indexed collections.");
}
return $persister->load(array($mapping['mappedBy'] => $coll->getOwner(), $mapping['indexBy'] => $index), null, null, array(), null, 1);
return $persister->load(
array(
$mapping['mappedBy'] => $coll->getOwner(),
$mapping['indexBy'] => $index
),
null,
null,
array(),
null,
1
);
}
/**