Skip to content

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

Merged
provokateurin merged 1 commit into
masterfrom
keyvalue-ttl-type
Sep 21, 2026
Merged

provokateurin merged 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

@provokateurin
provokateurin merged commit f7fed69 into master Sep 21, 2026
213 of 218 checks passed
@provokateurin
provokateurin deleted the keyvalue-ttl-type branch September 21, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

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

3 participants