mirror of
https://github.com/archtechx/money.git
synced 2025-12-12 11:24:03 +00:00
Fix syntax highlighting
This commit is contained in:
parent
ab97f27fd1
commit
9283895769
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,7 @@ For example, say we want to use the `currency` session key to keep track of the
|
||||||
```php
|
```php
|
||||||
currencies()
|
currencies()
|
||||||
->storeCurrentUsing(fn (string $code) => session()->put('currency', $code))
|
->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.
|
You can add this code to your AppServiceProvider's `boot()` method.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue