We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e93540f commit cdb1a08Copy full SHA for cdb1a08
src/DataDefinitionsBundle/Loader/PrimaryKeyLoader.php
@@ -68,7 +68,7 @@ public function load(LoaderContextInterface $context): ?Concrete
68
$obj = $objectData[0];
69
70
if ($context->getDefinition()->getForceLoadObject()) {
71
- $obj = DataObject::getById($obj->getId(), true);
+ $obj = DataObject::getById($obj->getId(), ['force' => true]);
72
73
if (!$obj instanceof $classObject) {
74
$obj = new $classObject();
0 commit comments