From 8efa741eb26669801eda7c14dfbaf635f867408e Mon Sep 17 00:00:00 2001 From: yamlahik Date: Fri, 16 Aug 2024 14:30:03 +0200 Subject: [PATCH] fix typing error --- CHANGELOG.md | 6 ++++++ src/Observers/EeCleanUpGroupedObserver.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 833a3a8..b35487d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# Version 21.0.2 + +## Bugfixes + +* fixing typing error + # Version 21.0.1 ## Bugfixes diff --git a/src/Observers/EeCleanUpGroupedObserver.php b/src/Observers/EeCleanUpGroupedObserver.php index f024788..1735b74 100644 --- a/src/Observers/EeCleanUpGroupedObserver.php +++ b/src/Observers/EeCleanUpGroupedObserver.php @@ -29,6 +29,6 @@ class EeCleanUpGroupedObserver extends CleanUpGroupedProductRelationObserver */ protected function getLastPrimaryKey(): int { - return $this->getSubject()->getLastRowId(); + return (int)$this->getSubject()->getLastRowId(); } }