Skip to content

Conversation

pavarnos
Copy link

@pavarnos pavarnos commented Jul 8, 2019

No description provided.

@pavarnos
Copy link
Author

pavarnos commented Jul 8, 2019

This fix is different to #29. It does not reply on the fluent phpUnit mock builder like #29 does. It seems to work fine on my code base.

@ondrejmirtes
Copy link
Member

Hi, it can't work since trait isn't a typehintable type. You'd have to create an artificial interface with all the trait's methods which probably isn't worth it.

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