Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperTey authored and github-actions[bot] committed Mar 23, 2024
1 parent 259297e commit f8fa75d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Support/DomainResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function guessDomainFromClass(string $class): ?string
{
$domainNamespace = Str::finish(DomainResolver::getConfiguredDomainNamespace(), '\\');

if (!str($class)->startsWith($domainNamespace)) {
if (! str($class)->startsWith($domainNamespace)) {
// Not a domain model
return null;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Generator/MakeViewModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
expect(file_exists($expectedPath))->toBeFalse();

// This currently only tests for the default base model
$expectedBaseViewModelPath = base_path(config('ddd.domain_path') . '/Shared/ViewModels/ViewModel.php');
$expectedBaseViewModelPath = base_path(config('ddd.domain_path').'/Shared/ViewModels/ViewModel.php');

if (file_exists($expectedBaseViewModelPath)) {
unlink($expectedBaseViewModelPath);
Expand Down

0 comments on commit f8fa75d

Please sign in to comment.