From a6b60dc2b7bbcdf6b5b3561c32389f92e5566fce Mon Sep 17 00:00:00 2001 From: Daniel Subiabre Date: Tue, 13 May 2025 11:28:32 +0200 Subject: [PATCH] Update resource version number display property --- src/ApiResource/Version.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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. */