diff --git a/prompts.md b/prompts.md index 03923c2fd6..cec1d4b97c 100644 --- a/prompts.md +++ b/prompts.md @@ -858,8 +858,8 @@ The `spin` function displays a spinner along with an optional message while exec use function Laravel\Prompts\spin; $response = spin( - message: 'Fetching response...', callback: fn () => Http::get('http://example.com') + message: 'Fetching response...', ); ```