Skip to content

Commit

Permalink
Fix factory config key (should be singular)
Browse files Browse the repository at this point in the history
  • Loading branch information
pelmered committed Mar 26, 2024
1 parent 5d67e04 commit d2d5130
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion config/ddd.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
'resource' => 'Resources',
'rule' => 'Rules',
'scope' => 'Scopes',
'factories' => 'Database\Factories',
'factory' => 'Database\Factories',
],

/*
Expand Down
2 changes: 0 additions & 2 deletions src/Support/DomainAutoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public function __construct()

public function autoload(): void
{
//dd('Autoloading domains', $this->config);
if(isset($this->config['autoload']['service_providers'])) {
$this->registerDomainServiceProviders($this->config['autoload']['service_providers']);
}
Expand Down Expand Up @@ -155,7 +154,6 @@ protected function extractDomainAndModelFromModelNamespace(string $modelName): a
return [];
}


protected function remember($fileName, $callback)
{
// The cache is not available during booting, so we need to roll our own file based cache
Expand Down

0 comments on commit d2d5130

Please sign in to comment.