Skip to content

Commit

Permalink
Match locale in example (spatie#435)
Browse files Browse the repository at this point in the history
The example mentions the Dutch language, but the code returns English

Avoids possible confusion just in case of blind copy-paste ^-^
  • Loading branch information
CaddyDz authored Dec 7, 2022
1 parent 741219e commit 0624d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced-usage/using-another-default-locale.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class YourTag extends SpatieTag
{
public static function getLocale(): string
{
return 'en';
return 'nl';
}
}
```
Expand Down

0 comments on commit 0624d1b

Please sign in to comment.