From c38b23b39b8afb6c0918a9f0e6b976dbbe4fc454 Mon Sep 17 00:00:00 2001 From: kenjis Date: Wed, 11 Oct 2023 20:23:08 +0900 Subject: [PATCH] refactor!: make getIdValue() abstract --- system/BaseModel.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/system/BaseModel.php b/system/BaseModel.php index 6fa02fe4bd23..4add1836cde8 100644 --- a/system/BaseModel.php +++ b/system/BaseModel.php @@ -491,13 +491,8 @@ abstract protected function doErrors(); * @param array|object $data * * @return array|int|string|null - * - * @todo: Make abstract in version 5.0 */ - public function getIdValue($data) - { - return $this->idValue($data); - } + abstract public function getIdValue($data); /** * Override countAllResults to account for soft deleted accounts.