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

Add support for all callable type not just Closure #113

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

sunkan
Copy link

@sunkan sunkan commented Oct 16, 2017

Needed support to use classes as callback argument.

And Closure is also a callable so no this did't break any tests.

I know the test isn't the best if someone can give me some pointer I would gladly improve it.

Andreas Sundqvist added 2 commits October 16, 2017 17:57
Added a test for the new behavior.

composer.json - Added test folder to autoload if in devmode
phpunit.xml.dist - Fixed path to test folder
@sunkan
Copy link
Author

sunkan commented Oct 16, 2017

Why do you have 2 conflicting coding standard.

It's really confusing.

@repejota repejota self-requested a review October 17, 2017 10:53
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.

1 participant