Skip to content

Conversation

@CarlSchwan
Copy link
Member

@CarlSchwan CarlSchwan commented Jan 7, 2026

Entity $id is now string|int|null in master so this is not needed and
even before this was not needed as typing on $id wasn't enforced.

The only important part are:

  • addType('id', STRING) for the DB type to be correct
  • @method tag in the api doc for psalm

@CarlSchwan CarlSchwan requested a review from blizzz January 7, 2026 14:09
@CarlSchwan CarlSchwan self-assigned this Jan 7, 2026
@blizzz
Copy link
Member

blizzz commented Jan 7, 2026

already ready to review in #1027

blizzz
blizzz previously requested changes Jan 7, 2026
Copy link
Member

@blizzz blizzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not complete, check #1027 instead

also not sure what the unrelated sessiondata changes are about

@CarlSchwan
Copy link
Member Author

not complete, check #1027 instead

Done

also not sure what the unrelated sessiondata changes are about

This is to make psalm happy, with the latest change in master. $id is now typed as int|string|null. I'll update this PR

Entity $id is now string|int|null in master so this is not needed and
even before this was not needed as typing on $id wasn't enforced.

The only important part are:

- `addType('id', STRING)` for the DB type to be correct
- `@method` tag in the api doc for psalm

Signed-off-by: Carl Schwan <carlschwan@kde.org>
@CarlSchwan CarlSchwan merged commit 10fc9e6 into master Jan 8, 2026
61 checks passed
@CarlSchwan CarlSchwan deleted the carl/fix-saml branch January 8, 2026 11:33
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.

5 participants