diff --git a/src/Database/Model.php b/src/Database/Model.php index 96d9bb6..0b12e91 100644 --- a/src/Database/Model.php +++ b/src/Database/Model.php @@ -72,9 +72,8 @@ * * @return bool Entity exists */ - public bool $isset { - // Returns bool if row is set or attempts to resolve and set if null - get => $this->_isset ??= new Database() + public function isset(): bool { + return $this->_isset ??= new Database() ->from($this->table) ->where($this->where) ->limit(1)