diff --git a/src/Support/Discover/ComponentStructureScout.php b/src/Support/Discover/ComponentStructureScout.php index b451943..af7fb13 100644 --- a/src/Support/Discover/ComponentStructureScout.php +++ b/src/Support/Discover/ComponentStructureScout.php @@ -23,14 +23,14 @@ protected function definition(): Discover ->full(); } - public function prefix(string $prefix): static + public function prefix(?string $prefix = null): static { $this->prefix = trim($prefix, '-'); return $this; } - public function path(string $path): static + public function path(?string $path = null): static { $this->path = $path;