You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to have my IDE figuring out the added query builder's methods such as withExpression().
I've noticed that the return type of QueriesExpressions::newBaseQueryBuilder() is set to \Illuminate\Database\Query\Builder while it returns a Staudenmeir\LaravelCte\Query\Builder object.
Hello,
I'm trying to have my IDE figuring out the added query builder's methods such as
withExpression()
.I've noticed that the return type of
QueriesExpressions::newBaseQueryBuilder()
is set to\Illuminate\Database\Query\Builder
while it returns aStaudenmeir\LaravelCte\Query\Builder
object.There was a PR fixing that typing issue which then was reverted by this PR: https://github.com/staudenmeir/laravel-cte/pull/50/files
It won't fix the IDE code completion when using
DB
facades but at least it'll work when callingQueriesExpressions::newBaseQueryBuilder()
.The text was updated successfully, but these errors were encountered: