db icon indicating copy to clipboard operation
db copied to clipboard

Nonexistent return in `Query::one` should be fixed, it never returns an object.

Open terabytesoftw opened this issue 3 years ago • 1 comments

https://github.com/yiisoft/db/blob/ec41ff1583a020a9f3c0f66ec948dc1f3c7b6de3/src/Query/Query.php#L553

terabytesoftw avatar Jul 16 '22 13:07 terabytesoftw

In AR need remove inheritance from Query and QueryInterface. Then we can change type to ?array.

vjik avatar Jul 17 '22 06:07 vjik