Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2/2] Refactors lib/private/Collaboration #39114

Conversation

fsamapoor
Copy link
Member

Summary

Following previous PRs taking advantage of PHP8's constructor property promotion in /core/ namespace, I have also made the required adjustments to the classes in /lib/private/Collaboration namespace.

I figured I should split the changes into two PRs to make reviewing the changes easier.

The improvements in this PR include but are not limited to:

  • Using PHP8's constructor property promotion
  • Adding return types
  • Adding types to properties
  • Removing redundant docblocks

Checklist

@fsamapoor fsamapoor force-pushed the refactor_lib_private_collaboration_part2 branch 3 times, most recently from 978318e to de37c6b Compare July 3, 2023 08:50
@solracsf solracsf added 3. to review Waiting for reviews technical debt labels Jul 3, 2023
@solracsf solracsf added this to the Nextcloud 28 milestone Jul 3, 2023
@szaimen szaimen requested review from ChristophWurst, juliushaertl, julien-nc, a team, ArtificialOwl, icewind1991 and Fenn-CS and removed request for a team July 12, 2023 11:59
Copy link
Contributor

@Fenn-CS Fenn-CS left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@Fenn-CS Fenn-CS enabled auto-merge July 13, 2023 20:06
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <[email protected]>
@fsamapoor fsamapoor force-pushed the refactor_lib_private_collaboration_part2 branch from de37c6b to a304ba5 Compare October 3, 2023 05:47
@ChristophWurst ChristophWurst merged commit fdb7fe2 into nextcloud:master Oct 3, 2023
38 of 41 checks passed
@fsamapoor fsamapoor deleted the refactor_lib_private_collaboration_part2 branch October 3, 2023 11:50
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.

4 participants