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

Little refactor using early return #303

Merged
merged 2 commits into from
Jul 23, 2023

Conversation

joubertredrat
Copy link
Contributor

Hi guys, thanks for this awesome micro framework.

I made this little refactor using early return to reduce cyclomatic complexity in this class. In my personal project I made unit test for this class, if you want too, feel free to talk me that I provide a test here too.

@l0gicgate l0gicgate added this to the 4.6.0 milestone Jul 23, 2023
@l0gicgate l0gicgate merged commit 630e8c8 into slimphp:master Jul 23, 2023
4 checks passed
@joubertredrat joubertredrat deleted the refactor-shutdown branch July 23, 2023 09:14
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.

2 participants