Skip to content

Commit

Permalink
chore: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
tractorcow committed Sep 1, 2023
1 parent 9d04d7a commit 904e3f4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Extension/FluentVersionedExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -1055,8 +1055,6 @@ public function onAfterDuplicate($original, $doWrite, $relations): void
SELECT ? AS \"RecordID\", $fields_str
FROM \"$versionsTableName\"
WHERE \"RecordID\" = ?", [$toID, $fromID]);

}
}

}

0 comments on commit 904e3f4

Please sign in to comment.