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

Refactor lib/private/Calendar #38990

Merged

Conversation

fsamapoor
Copy link
Member

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/Calendar namespace.

The improvements in this PRs include:

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

Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
@szaimen szaimen added 3. to review Waiting for reviews technical debt labels Jun 25, 2023
@szaimen szaimen added this to the Nextcloud 28 milestone Jun 25, 2023
@szaimen szaimen requested review from ChristophWurst, miaulalala, a team, ArtificialOwl, icewind1991 and Fenn-CS and removed request for a team June 25, 2023 11:09
@ChristophWurst ChristophWurst changed the title Refactors lib/private/Calendar. Refactor lib/private/Calendar Jun 26, 2023
@ChristophWurst ChristophWurst merged commit 266436b into nextcloud:master Jun 27, 2023
38 of 39 checks passed
@fsamapoor fsamapoor deleted the refactor_lib_private_calendar branch March 8, 2024 07:41
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.

None yet

5 participants