Skip to content

Commit d474eb7

Browse files
authored
Merge pull request #132 from JamesFreeman/bugfix/style-issue
Fix issue with styling on docs
2 parents cfeff1a + 76e03f6 commit d474eb7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/credential-storage.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Xero::useModelStorage(Settings::first());
3636

3737
If you need to resolve a model depending on some application state such as the authenticated user, this should be added to [a custom middleware](https://laravel.com/docs/11.x/middleware#defining-middleware) instead of the app service provider, e.g.
3838

39+
```php
3940
<?php
4041

4142
namespace App\Http\Middleware;
@@ -56,6 +57,7 @@ class ConfigureXeroMiddleware
5657

5758
}
5859
}
60+
```
5961

6062
By default, the package will use the `xero_credentials` field, Should you need to rename this field, you can do so by calling:
6163

0 commit comments

Comments
 (0)