Skip to content

Commit

Permalink
refactor!: make getIdValue() abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Oct 11, 2023
1 parent f81a157 commit c38b23b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions system/BaseModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c38b23b

Please sign in to comment.