diff --git a/src/Support/DomainResolver.php b/src/Support/DomainResolver.php index d8d08a2..470849c 100644 --- a/src/Support/DomainResolver.php +++ b/src/Support/DomainResolver.php @@ -7,7 +7,7 @@ class DomainResolver { - public static function getConfiguredDomainPath(): string + public static function getConfiguredDomainPath(): ?string { if (Config::has('ddd.paths.domains')) { // Deprecated @@ -17,7 +17,7 @@ public static function getConfiguredDomainPath(): string return config('ddd.domain_path'); } - public static function getConfiguredDomainNamespace(): string + public static function getConfiguredDomainNamespace(): ?string { if (Config::has('ddd.paths.domains')) { // Deprecated