Skip to content

fix(stubs): add missing return type to QueryBuilder::selectAlias()#2451

Open
cristianscheid wants to merge 1 commit intomasterfrom
fix/noid/stub-selectalias-return-type
Open

fix(stubs): add missing return type to QueryBuilder::selectAlias()#2451
cristianscheid wants to merge 1 commit intomasterfrom
fix/noid/stub-selectalias-return-type

Conversation

@cristianscheid
Copy link
Copy Markdown
Contributor

Summary

Fixes the following psalm error:

Error: lib/Tools/Db/ExtendedQueryBuilder.php:30:7: MethodSignatureMismatch: Method OC\DB\QueryBuilder\QueryBuilder::selectAlias with return type '' is different to return type 'OCP\DB\QueryBuilder\IQueryBuilder' of inherited method OCP\DB\QueryBuilder\IQueryBuilder::selectAlias (see https://psalm.dev/042)

Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
@provokateurin provokateurin enabled auto-merge April 22, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants