Skip to content

Conversation

GuySartorelli
Copy link

Fixes #76

The typeToArray() implementation is based heavily on typeToString(), but uses the [$type, false] array style that resolveHint() is expecting.

I'm not sure how to go about writing a test for this - I didn't have enough time to get familiar with the way your tests are written. Can you please give me some guidance? It doesn't look like the existing tests include namespaces in a way that would surface this bug and I'm not sure how to add that.

@GuySartorelli
Copy link
Author

@williamdes Have you had a chance to look at this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Typehints sometimes incorrectly prepend the current namespace
1 participant