diff --git a/src/Extension/FluentVersionedExtension.php b/src/Extension/FluentVersionedExtension.php index 4d766384..4eaf1805 100644 --- a/src/Extension/FluentVersionedExtension.php +++ b/src/Extension/FluentVersionedExtension.php @@ -1012,8 +1012,8 @@ protected function setVersionCacheItem(string $class, string $stage, string $loc // Internally store nulls as 0 $this->versionsCache[$class][$stage][$locale][$key] = $value ?: 0; } - - /** + + /** * If an object is duplicated also duplicate existing localised values from original to new object. */ public function onAfterDuplicate($original, $doWrite, $relations): void @@ -1055,8 +1055,6 @@ public function onAfterDuplicate($original, $doWrite, $relations): void SELECT ? AS \"RecordID\", $fields_str FROM \"$versionsTableName\" WHERE \"RecordID\" = ?", [$toID, $fromID]); - } } - }