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

Replace get_class() with ::class #6475

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

distantnative
Copy link
Member

@distantnative distantnative commented Jun 8, 2024

Description

Summary of changes

  • Replacing get_class() method with ::class notation

Reasoning

Adapting modern PHP syntax

Ready?

  • Tests and checks all pass

@distantnative distantnative added the type: refactoring ♻️ Is about bad code; cleans up code label Jun 8, 2024
@distantnative distantnative added this to the 5.0.0-alpha.1 milestone Jun 8, 2024
@distantnative distantnative self-assigned this Jun 8, 2024
@distantnative distantnative marked this pull request as ready for review June 8, 2024 20:50
@distantnative distantnative requested a review from a team June 8, 2024 20:50
Copy link
Member

@bastianallgeier bastianallgeier left a comment

Choose a reason for hiding this comment

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

Looks a lot cleaner indeed.

@bastianallgeier bastianallgeier merged commit a792538 into v5/develop Jun 10, 2024
11 checks passed
@bastianallgeier bastianallgeier deleted the v5/refactor/replace-get-class branch June 10, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: refactoring ♻️ Is about bad code; cleans up code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants