Skip to content

Commit 8b3d699

Browse files
committed
fix(docs): AuthManager.extend() → Auth.manager.extend(...) for accuracy (#36)
AuthManager.extend() is an instance method accessed via the facade, not a static call. Updated docs and skill references to match.
1 parent 4804f41 commit 8b3d699

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

doc/digging-deeper/logging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ class LoggingServiceProvider extends ServiceProvider {
236236
}
237237
```
238238

239-
This follows the same `extend()` pattern as `AuthManager.extend()` for custom auth guards. The factory receives the channel's config map and returns a `LoggerDriver` instance.
239+
This follows the same `extend()` pattern as `Auth.manager.extend(...)` for custom auth guards. The factory receives the channel's config map and returns a `LoggerDriver` instance.
240240

241241
Then use it in your config:
242242

skills/magic-framework/references/secondary-systems.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Log.channel('slack').error('Critical server issue');
171171

172172
### Custom Drivers
173173

174-
Register custom log drivers via `LogManager.extend()` — follows the same pattern as `AuthManager.extend()`:
174+
Register custom log drivers via `LogManager.extend()` — follows the same pattern as `Auth.manager.extend(...)`:
175175

176176
```dart
177177
// In a ServiceProvider boot():

0 commit comments

Comments
 (0)