From 92838957696f1ef7dd0c7a2ce15d4325185148fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Wed, 17 Nov 2021 20:53:14 +0100 Subject: [PATCH] Fix syntax highlighting --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d45daaa..c32dae6 100644 --- a/README.md +++ b/README.md @@ -337,7 +337,7 @@ For example, say we want to use the `currency` session key to keep track of the ```php currencies() ->storeCurrentUsing(fn (string $code) => session()->put('currency', $code)) - ->resolveCurrentUsing(fn () => session()->get('currency)); + ->resolveCurrentUsing(fn () => session()->get('currency')); ``` You can add this code to your AppServiceProvider's `boot()` method.