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 broken code that assumes array keys are strings #120

Merged
merged 4 commits into from
Sep 8, 2023

Conversation

GrahamCampbell
Copy link
Member

I know that array_merge and array_unique have bad complexity, however typically templates have low numbers of variables, like sub-100, so I don't think this will be an issue, and may actually be faster than the array_reduce with small numbers of variables.


Closes #119.

@nyamsprod nyamsprod marked this pull request as ready for review September 8, 2023 15:25
@nyamsprod
Copy link
Member

thanks for the report and the PR. I will review ASAP 👍🏾

@nyamsprod nyamsprod merged commit 656e759 into thephpleague:master Sep 8, 2023
@GrahamCampbell GrahamCampbell deleted the patch-1 branch September 8, 2023 20:40
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.

URI Template incorrect when variable name only contains numbers
2 participants