Skip to content

Commit

Permalink
Use class basename
Browse files Browse the repository at this point in the history
  • Loading branch information
francoism90 committed Jul 30, 2024
1 parent 32ecbc3 commit 805c095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Support/Discover/ComponentStructureScout.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function path(?string $path = null): static

public function identifier(): string
{
return $this->prefix ?? static::class;
return $this->prefix ?? class_basename(static::class);
}

public function cacheStore(): ?string
Expand Down

0 comments on commit 805c095

Please sign in to comment.