mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 08:30:07 +01:00
Adding a function_exists conditional around the tap method to reduce conflict with the illuminate/support library
This commit is contained in:
@@ -108,6 +108,7 @@ function should_be_sudo()
|
||||
}
|
||||
}
|
||||
|
||||
if (! function_exists('tap')) {
|
||||
/**
|
||||
* Tap the given value.
|
||||
*
|
||||
@@ -121,6 +122,7 @@ function tap($value, callable $callback)
|
||||
|
||||
return $value;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the user
|
||||
|
||||
Reference in New Issue
Block a user