Skip to content

Commit

Permalink
Update return types.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspertey committed Mar 23, 2024
1 parent b7e7b82 commit c62d580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Support/DomainResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class DomainResolver
{
public static function getConfiguredDomainPath(): string
public static function getConfiguredDomainPath(): ?string
{
if (Config::has('ddd.paths.domains')) {
// Deprecated
Expand All @@ -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
Expand Down

0 comments on commit c62d580

Please sign in to comment.