Skip to content

Commit 14acbfa

Browse files
Fix invalid PHP code (#10618)
1 parent 99f9086 commit 14acbfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prompts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -858,8 +858,8 @@ The `spin` function displays a spinner along with an optional message while exec
858858
use function Laravel\Prompts\spin;
859859

860860
$response = spin(
861-
callback: fn () => Http::get('http://example.com')
862-
message: 'Fetching response...',
861+
callback: fn () => Http::get('http://example.com'),
862+
message: 'Fetching response...'
863863
);
864864
```
865865

0 commit comments

Comments
 (0)