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

Fix code style issues #1527

Closed
wants to merge 2 commits into from

Conversation

scyzoryck
Copy link
Collaborator

Q A
Bug fix? no
New feature? no
Doc updated no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT

Hi!
Let's apply some fixes suggested by PHPStorm & fixed automatically like:

  • use of null collapse operator
  • one class per file
  • early returns

In result the code seems to be running ~5% faster, uses 2KB less memory and looks a bit modern :D

@scyzoryck scyzoryck force-pushed the fix-code-style-issues branch from da13ce9 to 81f5e43 Compare December 9, 2023 14:27
@scyzoryck scyzoryck closed this Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant