Skip to content

Conversation

@provokateurin
Copy link
Member

Summary

Adding strong types to the interface method parameters is allowed as long as it previously didn't define strong type.
I also added them to all implementations for completeness and readability (but I don't know if this is even necessary safety wise).
Most of it was actually done through IntelliJ refactoring which was able to add the strong type to the interface and to all implementations at the same time.

Based on #48487 due to necessary fixes for those tests.

Checklist

@provokateurin provokateurin added 3. to review Waiting for reviews technical debt ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) labels Oct 1, 2024
@provokateurin provokateurin added this to the Nextcloud 31 milestone Oct 1, 2024
@provokateurin provokateurin requested review from a team, Altahrim, ArtificialOwl and come-nc and removed request for a team October 1, 2024 14:19
@provokateurin provokateurin added the pending documentation This pull request needs an associated documentation update label Oct 1, 2024
@provokateurin provokateurin force-pushed the refactor/stream-encryption/typings branch from 9b32a61 to 73ca69d Compare October 1, 2024 15:58
@provokateurin provokateurin force-pushed the refactor/storage/strong-param-types branch from d7aa284 to 024682b Compare October 1, 2024 16:06
@provokateurin provokateurin force-pushed the refactor/stream-encryption/typings branch 2 times, most recently from 8aceb68 to 4412b2b Compare October 7, 2024 12:12
Base automatically changed from refactor/stream-encryption/typings to master October 7, 2024 12:37
@provokateurin provokateurin force-pushed the refactor/storage/strong-param-types branch from 024682b to 14e6734 Compare October 7, 2024 13:03
@provokateurin provokateurin marked this pull request as ready for review October 7, 2024 13:05
@provokateurin provokateurin merged commit 614d8c2 into master Oct 8, 2024
@provokateurin provokateurin deleted the refactor/storage/strong-param-types branch October 8, 2024 13:20
@provokateurin provokateurin removed the pending documentation This pull request needs an associated documentation update label Oct 14, 2024
@skjnldsv skjnldsv mentioned this pull request Jan 7, 2025
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 ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) technical debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants