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 typehint for callable #358

Merged
merged 1 commit into from
May 10, 2019

Conversation

MacFJA
Copy link
Contributor

@MacFJA MacFJA commented Apr 27, 2019

Expected result on tests/data/issue313 and on tests/data/issue233

Fix #313, Fix #233

 - Refactoring of types handling
 - Fix issue with last char removed on expression (theseer#313)

Fix theseer#313, Fix theseer#233
@theseer
Copy link
Owner

theseer commented May 10, 2019

I'm not really happy with now having a trait in phpDox.

But the general docblock implementation hasn't aged very well ;)
Maybe I find some time to refactor this.

For now, i'll merge this as the implementation otherwise looks okay and I want this feature to be implemented.

@theseer theseer merged commit 82211b1 into theseer:master May 10, 2019
@theseer
Copy link
Owner

theseer commented May 10, 2019

Scrutinizer found an Issue after merging.

@MacFJA Can you have a look at that?

@MacFJA
Copy link
Contributor Author

MacFJA commented May 10, 2019

I'm not really happy with now having a trait in phpDox.

I see that phpDox don't have any trait.
For the refactoring, instead of a composition by trait, a more traditional composition can be done (the interface only have on method that return a class which have the methods getBuiltInTypes and isBuiltInType)

Scrutinizer found an Issue after merging.
@MacFJA Can you have a look at that?

I will check it this weekend, but I suspect some "conflict" with the PR #359

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.

Parsing of concatenated constants in classes fails native "callback" type is parsed as "object"
2 participants