diff --git a/src/ApiResource/Version.php b/src/ApiResource/Version.php index e585b14..36b4d57 100644 --- a/src/ApiResource/Version.php +++ b/src/ApiResource/Version.php @@ -33,14 +33,6 @@ class Version return $this->log->getId(); } - /** - * The ID of the version for this specific resource. - */ - public function getVersion(): ?int - { - return $this->log->getVersion(); - } - /** * The type of action that performed the recorded changes. */ @@ -65,6 +57,14 @@ class Version return $this->log->getObjectId(); } + /** + * The version number for this specific resource. + */ + public function getResourceVersion(): ?int + { + return $this->log->getVersion(); + } + /** * The changed resource data, i.e the new values of the changed properties. */