diff --git a/src/Concerns/UsesGeneratorOverrides.php b/src/Concerns/UsesGeneratorOverrides.php index 7ac2984..6c77f81 100644 --- a/src/Concerns/UsesGeneratorOverrides.php +++ b/src/Concerns/UsesGeneratorOverrides.php @@ -27,9 +27,9 @@ protected function rootNamespaceUsingCanvas(): string /** * Get the model for the default guard's user provider. */ - protected function userProviderModelUsingCanvas(): ?string + protected function userProviderModelUsingCanvas(?string $guard = null): ?string { - return $this->generatorPreset()->userProviderModel(); + return $this->generatorPreset()->userProviderModel($guard); } /**