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

Fatal error: Cannot redeclare tap() #9

Open
vmitchell85 opened this issue Sep 20, 2016 · 1 comment
Open

Fatal error: Cannot redeclare tap() #9

vmitchell85 opened this issue Sep 20, 2016 · 1 comment

Comments

@vmitchell85
Copy link

I encountered an issue where I would get this error when using jigsaw by tightenco.

I fixed my issue by wrapping your function tap() in a if (! function_exists('tap')) statement.

I'm not sure what other functions would benefit from this.

illuminate/support (which jigsaw uses) has done this with every function. See helpers.php

@vitr
Copy link
Collaborator

vitr commented Sep 21, 2016

yeah, this is the change they made in original project, I should update my version accordingly, thanks

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

No branches or pull requests

2 participants