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

Refactors lib/private/Avatar. #38989

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

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

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

Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <[email protected]>
lib/private/Avatar/AvatarManager.php Fixed Show resolved Hide resolved
lib/private/Avatar/AvatarManager.php Fixed Show resolved Hide resolved
@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 a team, ArtificialOwl, icewind1991 and Fenn-CS and removed request for a team June 25, 2023 11:09
@ChristophWurst ChristophWurst merged commit a66fe6e into nextcloud:master Sep 21, 2023
1 check failed
@fsamapoor fsamapoor deleted the refactor_lib_private_avatar branch March 8, 2024 07:42
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