Closed Tigrov closed 1 year ago
Query::count() can return int|string
Query::count()
int|string
https://github.com/yiisoft/db/blob/fb4c084f5389cc1cd6718f8c74989601506f993c/src/Query/QueryFunctionsInterface.php#L39-L44
But always returns int
int
https://github.com/yiisoft/db/blob/fb4c084f5389cc1cd6718f8c74989601506f993c/src/Query/Query.php#L294-L300
Done by #777
Query::count()
can returnint|string
https://github.com/yiisoft/db/blob/fb4c084f5389cc1cd6718f8c74989601506f993c/src/Query/QueryFunctionsInterface.php#L39-L44
But always returns
int
https://github.com/yiisoft/db/blob/fb4c084f5389cc1cd6718f8c74989601506f993c/src/Query/Query.php#L294-L300