Skip to content

Conversation

@nateritter
Copy link
Contributor

After doing a composer global update today, I started receiving PHP Fatal Errors when running valet like this:

PHP Fatal error:  Cannot redeclare tap() (previously declared in /Users/nateritter/.composer/vendor/illuminate/support/helpers.php:811) in /Users/nateritter/.composer/vendor/laravel/valet/cli/includes/helpers.php on line 123

Fatal error: Cannot redeclare tap() (previously declared in /Users/nateritter/.composer/vendor/illuminate/support/helpers.php:811) in /Users/nateritter/.composer/vendor/laravel/valet/cli/includes/helpers.php on line 123

To fix this, I simply wrapped the helpers.php tap() method in a function_exits conditional and voila. Thought I'd share.

…apping the tap method in a function_exists conditional.
…rt by wrapping the tap method in a function_exists conditional."

This reverts commit 8d74945.
…conflict with the illuminate/support library
@adamwathan adamwathan merged commit d4e71e5 into laravel:master Jun 14, 2016
@adamwathan
Copy link
Contributor

Thanks!

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