Skip to content

fix: correct cast ttl to int in KeyValueCache - #64566

Open
icewind1991 wants to merge 1 commit into
masterfrom
keyvalue-ttl-type
Open

icewind1991 wants to merge 1 commit into
masterfrom
keyvalue-ttl-type

Conversation

@icewind1991

@icewind1991 icewind1991 commented Sep 19, 2026

Copy link
Copy Markdown
Member

Summary

The setTtl has a strict type method, but set doesn't, so we need an explicit cast.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991
icewind1991 requested a review from a team as a code owner September 19, 2026 16:28
@icewind1991
icewind1991 requested review from Altahrim, come-nc, leftybournes and salmart-dev and removed request for a team September 19, 2026 16:28
@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Sep 19, 2026
@icewind1991 icewind1991 added this to the Nextcloud 36 milestone Sep 19, 2026
@icewind1991

Copy link
Copy Markdown
Member Author

/backport to stable35

@icewind1991

Copy link
Copy Markdown
Member Author

/backport to stable34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: typ-bug in user_ldap app when using memcache.kvstore - KeyValueCache::normalizeTtl() expects type int for $ttl

2 participants