diff --git a/src/Db/DbObject.php b/src/Db/DbObject.php index 500d37c..5a60519 100644 --- a/src/Db/DbObject.php +++ b/src/Db/DbObject.php @@ -225,7 +225,7 @@ class DbObject { * @param array $args Primary keys value in the same order as primary keys as declared * @see static :: PRIMARY_KEYS * @throws DbException - * @return DbObject|null The object if found, else otherwise. + * @return static|null The object if found, else otherwise. */ public static function get(...$args) { $class = get_called_class(); @@ -340,7 +340,7 @@ class DbObject { /** * List objects * @param array $where Where clauses as associative array of field name and value - * @return array|false + * @return array|false */ public static function list($where=null) { $class = get_called_class();