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

remove unnecessary foreach in RouteCollection::checkSubdomains() #3214

Merged
merged 1 commit into from
Jul 4, 2020

Conversation

samsonasik
Copy link
Member

use in_array() instead for check $this->currentSubdomain inside $subdomains

Checklist:

  • Securely signed commits

@lonnieezell lonnieezell merged commit f861629 into codeigniter4:develop Jul 4, 2020
@samsonasik samsonasik deleted the clean-up-foreach branch July 4, 2020 03:35
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